]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Thu, 16 Dec 2021 09:03:35 +0000 (10:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:42 +0000 (13:57 +0200)
commitec51f0ac79e0d5a01c30171f06068756ecef4630
tree144ae28cca857d063ed1ff461617fe73049b2998
parent0aeb244eb2fddbbc34f2227cf3fd85c86e111c9a
media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation

[ Upstream commit 59c2b6d51803ad6b7af28f2a60a843b24374e692 ]

The place where this register writel() that masks one interrupt is placed
does not guarantee that the device is powered so that's not allowed.
Moreover imx8mq_mipi_csi_start_stream() masks the interrupt anyway so the
write is not even needed. Remove it as this is a mistake that slipped in
with the driver.

Fixes: f33fd8d77dd0 ("media: imx: add a driver for i.MX8MQ mipi csi rx phy and controller")
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/imx/imx8mq-mipi-csi2.c