media: adv7180: add missing adv7180cp, adv7180st i2c device IDs
authorUlrich Hecht <ulrich.hecht+renesas@gmail.com>
Mon, 3 Jul 2017 08:43:33 +0000 (04:43 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 10:54:04 +0000 (06:54 -0400)
Fixes a crash on Renesas R8A7793 Gose board that uses these "compatible"
entries.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/adv7180.c

index 78de7ddf508112b0dc59415d5ab1551f3c88fe78..3df28f2f9b385f8cdc852f2ee02d43bb5b055327 100644 (file)
@@ -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 },