diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2019-01-22 02:35:51 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-03-23 16:35:31 +0300 |
commit | 9e0bb722d4f3807a971207fe35b9a358e124a858 (patch) | |
tree | 36dfccacc5136e9bf6278587958a570b770c94db /lib/kobject_uevent.c | |
parent | 273bef060472e2678d8c3ec50d361afa0e2c2b6c (diff) | |
download | linux-9e0bb722d4f3807a971207fe35b9a358e124a858.tar.xz |
media: imx: csi: Stop upstream before disabling IDMA channel
commit 4bc1ab41eee9d02ad2483bf8f51a7b72e3504eba upstream.
Move upstream stream off to just after receiving the last EOF completion
and disabling the CSI (and thus before disabling the IDMA channel) in
csi_stop(). For symmetry also move upstream stream on to beginning of
csi_start().
Doing this makes csi_s_stream() more symmetric with prp_s_stream() which
will require the same change to fix a hard lockup.
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Cc: stable@vger.kernel.org # for 4.13 and up
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions