mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
media: rockchip: vicap disable dma adapter when use hdmi input
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I20a47ca718242eb253797c851b85189b5fcf1829
This commit is contained in:
@@ -4221,6 +4221,12 @@ static int rkcif_csi_channel_set_v1(struct rkcif_stream *stream,
|
||||
}
|
||||
rkcif_write_register_or(dev, CIF_REG_GLB_CTRL, val);
|
||||
|
||||
if (dev->terminal_sensor.hdmi_input_en) {
|
||||
if (dev->chip_id == CHIP_RK3562_CIF ||
|
||||
dev->chip_id == CHIP_RK3576_CIF)
|
||||
rkcif_write_register_and(dev, CIF_REG_GLB_CTRL, ~(u32)BIT(16));
|
||||
}
|
||||
|
||||
rkcif_write_register_and(dev, CIF_REG_MIPI_LVDS_INTSTAT,
|
||||
~(CSI_START_INTSTAT(channel->id) |
|
||||
CSI_DMA_END_INTSTAT(channel->id) |
|
||||
|
||||
Reference in New Issue
Block a user