media: adv7180: Also check for "adi,force-bt656-4"

According to adv7180.yaml, the correct property name is
"adi,force-bt656-4".

Expand the check to also test against the "adi,force-bt656-4" compatible
string.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
Fabio Estevam 2024-10-24 08:37:52 -03:00 committed by Hans Verkuil
parent 095aa8926b
commit 69df1f89db

View File

@ -1440,7 +1440,8 @@ static int adv7180_probe(struct i2c_client *client)
return ret;
}
if (of_property_read_bool(np, "adv,force-bt656-4"))
if (of_property_read_bool(np, "adv,force-bt656-4") ||
of_property_read_bool(np, "adi,force-bt656-4"))
state->force_bt656_4 = true;
if (state->chip_info->flags & ADV7180_FLAG_MIPI_CSI2) {