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)
commit0cc25d3d318524c40c9a47fc9ee911030bdeec92
treee01e40b6bf58a6468f82732fa2fe58e14c49c991
parent687c936d6c3bd5c87e6ed62c1f6497fd87b9eff1
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-m2m.c