MLK-11874 media: platform: mxc v4l2 capture: Correct suspend/resume for capture
authorLiu Ying <Ying.Liu@freescale.com>
Thu, 19 Nov 2015 05:43:58 +0000 (13:43 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:14 +0000 (14:49 -0500)
commit07a06410a1296576ad3871ffb5d44a735332bf55
treefa98d0aeae17d97fdac0d9c7433dacb42b1df2ad
parent900f96da7d12db8c10a4019bb617a1f7e39fde70
MLK-11874 media: platform: mxc v4l2 capture: Correct suspend/resume for capture

The capture channel should be correctly disabled in ->suspend() and
enabled in ->resume() with ->enc_disable()/->enc_disable_csi() and
->enc_enable()/->enc_enable_csi() respectively.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/media/platform/mxc/capture/mxc_v4l2_capture.c