ARM64: DTS: Fix Firefly board audio driver
[firefly-linux-kernel-4.4.55.git] / drivers / media / platform / rockchip-rga / rga.c
index b0ea8b7736a97a5aef71ffeebc3a7a02ceab694a..9b70181d87bcc433c23e8c9b875411618f89f7e0 100644 (file)
@@ -251,8 +251,17 @@ struct rga_fmt formats[] = {
        },
        {
                .fourcc = V4L2_PIX_FMT_RGB24,
+               .color_swap = RGA_COLOR_NONE_SWAP,
+               .hw_format = RGA_COLOR_FMT_RGB888,
+               .depth = 24,
+               .uv_factor = 1,
+               .y_div = 1,
+               .x_div = 1,
+       },
+       {
+               .fourcc = V4L2_PIX_FMT_BGR24,
                .color_swap = RGA_COLOR_RB_SWAP,
-               .hw_format = RGA_COLOR_FMT_BGR888,
+               .hw_format = RGA_COLOR_FMT_RGB888,
                .depth = 24,
                .uv_factor = 1,
                .y_div = 1,