media: qcom: camss: Fix missing vfe_lite clocks check
check_clock doesn't account for vfe_lite which means that vfe_lite will never get validated by this routine. Add the clock name to the expected set to remediate. Fixes: 7319cdf189bb ("media: camss: Add support for VFE hardware version Titan 170") Cc: stable@vger.kernel.org Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
7f24d29135
commit
b6e1bdca46
@ -535,7 +535,8 @@ static int vfe_check_clock_rates(struct vfe_device *vfe)
|
||||
struct camss_clock *clock = &vfe->clock[i];
|
||||
|
||||
if (!strcmp(clock->name, "vfe0") ||
|
||||
!strcmp(clock->name, "vfe1")) {
|
||||
!strcmp(clock->name, "vfe1") ||
|
||||
!strcmp(clock->name, "vfe_lite")) {
|
||||
u64 min_rate = 0;
|
||||
unsigned long rate;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user