Commits
Guoniu.zhou committed fe2655a7209
LF-356: media: imx8 isi: fix buffer active bit change for QXP C0 For ISI of QXP B0, if CHNL_STS[BUF1_ACTIVE] bit is zero, means buffer1 of ping-pong buffer is active, driver can't change buffer1 address. If CHNL_STS[BUF1_ACTIVE] bit is set, means buffer1 is free, driver can modify its address. For ISI of QXP C0, the buffer active logical reverse. It means driver can change buffer1 address if CHNL_STS[BUF1_ACTIVE] bit is zero and can't if CHNL_STS[BUF1_ACTIVE] bit is set. So driver need to distinguish soc version and select how to switch ping pong buffer. Signed-off-by: Guoniu.zhou <guoniu.zhou@nxp.com> Reviewed-by: Sandor.yu <sandor.yu@nxp.com>