drm/i2c: tda998x: move mode_valid() to bridge
commitb073a70ecd37bc6e7c25a47315cd8d65e7b313fd
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 2 Aug 2018 09:27:15 +0000 (2 10:27 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 7 Aug 2018 09:32:03 +0000 (7 10:32 +0100)
treea211bf40ab26cb559bfb272ad26a55c86119eb81
parent5a03f5346fedc8b5f1a8601aa46a0930ba56a7ae
drm/i2c: tda998x: move mode_valid() to bridge

Move the mode_valid() implementation to the bridge instead of the
connector, as we're checking the bridge's capabilities.

Tested-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c