remoteproc: shutdown before rpmsg deinit
authorWendy Liang <jliang@xilinx.com>
Tue, 9 Aug 2016 23:10:27 +0000 (16:10 -0700)
committerWendy Liang <jliang@xilinx.com>
Thu, 13 Oct 2016 05:01:47 +0000 (22:01 -0700)
commit4576cde618e65a1ba7776896ac235be28ac258d1
treeb657485abdb0d642672b0fb06934011e64afad34
parentf47b73c0d37f14c754211fa4f16826c7ad0db884
remoteproc: shutdown before rpmsg deinit

As the rpmsg deinit will delete the remoteproc,
will need to shutdown the remote before the remoteproc
is deleted.

There should be another fix to do the shutdown after
rpmsg channels shutdown but before deleting the remoteproc.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/remoteproc/remoteproc.c