mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
drm/bridge: sii902x: modify the check of bus-format
Use the definition of MEDIA_BUS_FMT_XXX instead of the definition of sii902x_bus_format. Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: I72b4d92a1704f98f437a80d2a8afe16d9f6b003f
This commit is contained in:
@@ -640,7 +640,7 @@ static int sii902x_bridge_attach(struct drm_bridge *bridge,
|
||||
enum drm_bridge_attach_flags flags)
|
||||
{
|
||||
struct sii902x *sii902x = bridge_to_sii902x(bridge);
|
||||
u32 bus_format = MEDIA_BUS_FMT_RGB888_1X24;
|
||||
u32 bus_format = sii902x->bus_format;
|
||||
struct drm_device *drm = bridge->dev;
|
||||
int ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user