From: Ulrich Hecht Date: Mon, 3 Jul 2017 08:43:33 +0000 (-0400) Subject: media: adv7180: add missing adv7180cp, adv7180st i2c device IDs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=281ddc3cdc10413b98531d701ab5323c4f3ff1f4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git media: adv7180: add missing adv7180cp, adv7180st i2c device IDs Fixes a crash on Renesas R8A7793 Gose board that uses these "compatible" entries. Signed-off-by: Ulrich Hecht Tested-by: Geert Uytterhoeven Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index 78de7ddf5081..3df28f2f9b38 100644 --- a/drivers/media/i2c/adv7180.c +++ b/drivers/media/i2c/adv7180.c @@ -1402,6 +1402,8 @@ static int adv7180_remove(struct i2c_client *client) static const struct i2c_device_id adv7180_id[] = { { "adv7180", (kernel_ulong_t)&adv7180_info }, + { "adv7180cp", (kernel_ulong_t)&adv7180_info }, + { "adv7180st", (kernel_ulong_t)&adv7180_info }, { "adv7182", (kernel_ulong_t)&adv7182_info }, { "adv7280", (kernel_ulong_t)&adv7280_info }, { "adv7280-m", (kernel_ulong_t)&adv7280_m_info },