remoteproc: fix error path of ->find_vqs
authorOhad Ben-Cohen <ohad@wizery.com>
Mon, 12 Nov 2012 09:13:51 +0000 (11:13 +0200)
committerOhad Ben-Cohen <ohad@wizery.com>
Thu, 29 Nov 2012 08:05:09 +0000 (10:05 +0200)
commitdab55bbafdb491ce2c3f2d7136e54101e948b911
tree689501537c7f05eb18bd0093aa868ed55fbaaac1
parent6f0c0580b70c89094b3422ba81118c7b959c7556
remoteproc: fix error path of ->find_vqs

Eliminate an erroneous invocation of rproc_shutdown inside
the error path of rproc_virtio_find_vqs.

Reported-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/remoteproc_virtio.c