mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
media: imx: imx8mq-mipi-csi2: remove wrong irq config write operation
[ Upstream commit59c2b6d518
] 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:f33fd8d77d
("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>
This commit is contained in:
parent
0aeb244eb2
commit
ec51f0ac79
1 changed files with 0 additions and 3 deletions
|
@ -398,9 +398,6 @@ static int imx8mq_mipi_csi_s_stream(struct v4l2_subdev *sd, int enable)
|
|||
struct csi_state *state = mipi_sd_to_csi2_state(sd);
|
||||
int ret = 0;
|
||||
|
||||
imx8mq_mipi_csi_write(state, CSI2RX_IRQ_MASK,
|
||||
CSI2RX_IRQ_MASK_ULPS_STATUS_CHANGE);
|
||||
|
||||
if (enable) {
|
||||
ret = pm_runtime_resume_and_get(state->dev);
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Reference in a new issue