MMFMWK-8297: ISI: return error when ISI chan0 is busy
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Mon, 22 Oct 2018 07:19:27 +0000 (15:19 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitf1319bb69a94c4823b6ad3a65b1666f6ac26f53d
tree2d8896f9d84e0a28fd32e8e12645503eba5b3466
parentd7d8257ffe9f8d830c7e5c03d45da1d806cf28be
MMFMWK-8297: ISI: return error when ISI chan0 is busy

When ISI channel0 is used to recevice camera data, it can
not be used to mem2mem. So return -EBUSY error code when
user try to use them at the same time.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
(cherry picked from commit c6d5bf866819deaaf4900ae47d575c5a36d30a66)
drivers/media/platform/imx8/mxc-isi-cap.c