camera: fix rgba format for lt6911uxc

Fix RGB format streamed by the Lontium HDMI
CSI chip.
Fix Lontium HDMI driver for print. Probe is
info and not error flagged in kwarn scripts

bug 4168439

Change-Id: I7323fa5d6fd0b2c0cdefd9ea7248335b76726b94
Signed-off-by: Anubhav Rai <arai@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2927531
(cherry picked from commit d12b72d44508ff8c36d26dcbb50aa6a05e6a7bdf)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2966743
Reviewed-by: Narendra Kondapalli <nkondapalli@nvidia.com>
Reviewed-by: Ankur Pawar <ankurp@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Anubhav Rai
2023-06-27 22:37:37 +00:00
committed by mobile promotions
parent d49cb5b97d
commit b2b703f13d
2 changed files with 3 additions and 3 deletions

View File

@@ -454,7 +454,7 @@ static int lt6911uxc_probe(struct i2c_client *client,
struct lt6911uxc *priv; struct lt6911uxc *priv;
int err; int err;
dev_err(dev, "probing lt6911uxc v4l2 sensor at addr 0x%0x\n", dev_info(dev, "probing lt6911uxc v4l2 sensor at addr 0x%0x\n",
client->addr); client->addr);
if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node) if (!IS_ENABLED(CONFIG_OF) || !client->dev.of_node)
@@ -501,7 +501,7 @@ static int lt6911uxc_probe(struct i2c_client *client,
return err; return err;
} }
dev_err(dev, "detected lt6911uxc sensor\n"); dev_info(dev, "detected lt6911uxc sensor\n");
return 0; return 0;
} }

View File

@@ -113,7 +113,7 @@ static const struct tegra_video_format vi5_video_formats[] = {
/* RGB888 */ /* RGB888 */
TEGRA_VIDEO_FORMAT(RGB888, 24, RGB888_1X24, 4, 1, T_A8R8G8B8, TEGRA_VIDEO_FORMAT(RGB888, 24, RGB888_1X24, 4, 1, T_A8R8G8B8,
RGB888, ABGR32, "BGRA-8-8-8-8"), RGB888, RGBA32, "RGBA-8-8-8-8"),
TEGRA_VIDEO_FORMAT(RGB888, 24, RGB888_1X32_PADHI, 4, 1, T_A8B8G8R8, TEGRA_VIDEO_FORMAT(RGB888, 24, RGB888_1X32_PADHI, 4, 1, T_A8B8G8R8,
RGB888, RGB32, "RGB-8-8-8-8"), RGB888, RGB32, "RGB-8-8-8-8"),