diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-04-11 23:21:37 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2024-04-26 12:50:54 +0300 |
commit | 2ab6c22d61e49518b6abd10105b747bc11780b95 (patch) | |
tree | 22bb10cbebd25dc14d2c47267d970a95176ac767 /drivers/staging/media/atomisp/pci/hmm | |
parent | 2bcbeeb2979d6f97c150ed88488b16e2bf83bf64 (diff) | |
download | linux-2ab6c22d61e49518b6abd10105b747bc11780b95.tar.xz |
media: atomisp: Ensure CSI-receiver[x] -> ISP links correctly reflect current sensor
Add a new atomisp_setup_input_links() helper which ensures that
the CSI-receiver -> ISP link for input_curr is marked as enabled and
the other CSI-receiver -> ISP links are disabled.
And call this helper from atomisp_register_device_nodes() for the initial
setup and from atomisp_select_input() for runtime input_curr changes.
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/hmm')
0 files changed, 0 insertions, 0 deletions