OpenCloudOS-Kernel/drivers/media
Vladimir Zapolskiy 6b1814e269 media: camss: Allocate power domain resources dynamically
To simplify the driver's maintenance it makes sense to escape from
hardcoded numbers of power domain resources per platform and statical
allocation of the resources. For instance on a QCOM SM8450 platform
the number of CAMSS power domains shall be bumped up to 6, also notably
CAMSS on MSM8916 has only one power domain, however it expects to get 2,
and thus it should result in a runtime error on driver probe.

The change fixes an issue mentioned above and gives more flexibility
to support more platforms in future.

Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2022-06-20 10:30:30 +01:00
..
cec media: cec-adap.c: drop activate_cnt, use state info instead 2022-05-13 11:29:39 +02:00
common media: videobuf2-dma-sg.c: kvmalloc_array -> kvcalloc 2022-05-13 11:02:22 +02:00
dvb-core media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
dvb-frontends media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
firewire media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00
i2c media: TDA1997x: Fix the error handling in tda1997x_probe() 2022-06-20 10:30:30 +01:00
mc media: mc: delete redundant code in __media_device_unregister_entity 2022-04-24 08:14:19 +01:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: ipu3-cio2: Add INT347E to cio2-bridge 2022-05-17 09:52:18 +02:00
platform media: camss: Allocate power domain resources dynamically 2022-06-20 10:30:30 +01:00
radio media: make RADIO_ADAPTERS tristate 2022-05-13 11:02:19 +02:00
rc USB / Thunderbolt changes for 5.19-rc1 2022-06-03 11:17:49 -07:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers media: vidtv: use vfree() for memory allocated with vzalloc() 2022-03-18 07:28:17 +01:00
tuners media: si2157: unknown chip version Si2147-A30 ROM 0x50 2022-04-09 17:45:49 +02:00
usb USB / Thunderbolt changes for 5.19-rc1 2022-06-03 11:17:49 -07:00
v4l2-core media: v4l2: Reorder field reflist 2022-05-17 10:03:11 +02:00
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00