media: i2c: Use the new get_mbus_config pad op
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 16 Jun 2020 14:12:37 +0000 (16:12 +0200)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:13 +0000 (16:34 +0100)
commitc715e983c2370881a9b580e16b0aa94e012eafd7
tree1523df45400e4caa35c338514fa8b9b8e1c056e4
parent4bcc6f54f1eaea22ac5cd3e7d48876f1e02117e3
media: i2c: Use the new get_mbus_config pad op

Upstream https://patchwork.linuxtv.org/patch/64669/

Move the existing users of the g_mbus_config video operation to use the
newly introduced get_mbus_config pad operations.

All the ported drivers report a static media bus configuration and do no
support s_mbus_config so the operation implementation has not changed.

Bridge drivers needs to call the new pad operation and will receive an
-ENOICTLCMD when calling the old g_mbus_config video operation

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
drivers/media/i2c/adv7180.c
drivers/media/i2c/ml86v7667.c
drivers/media/i2c/mt9m001.c
drivers/media/i2c/mt9m111.c
drivers/media/i2c/ov9640.c
drivers/media/i2c/tc358743.c
drivers/media/i2c/tvp5150.c