media: camss: Do not attach an already attached power domain on MSM8916 platform
authorVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Mon, 4 Jul 2022 22:08:14 +0000 (23:08 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 8 Nov 2022 08:39:33 +0000 (08:39 +0000)
commit3d658980e6dac2af6a024fdb6ded3d7bc44dc9ff
tree1945e949b87fc6e996a7f4fb1928b8a05d73f21e
parentc8f3582345e6a69da65ab588f7c4c2d1685b0e80
media: camss: Do not attach an already attached power domain on MSM8916 platform

The change to dynamically allocated power domains neglected a case of
CAMSS on MSM8916 platform, where a single VFE power domain is neither
attached, linked or managed in runtime in any way explicitly.

This is a special case and it shall be kept as is, because the power
domain management is done outside of the driver, and it's very different
in comparison to all other platforms supported by CAMSS.

Fixes: 6b1814e26989 ("media: camss: Allocate power domain resources dynamically")
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>
drivers/media/platform/qcom/camss/camss.c