Commit 5313fb2c authored by Jiri Vanek's avatar Jiri Vanek Committed by Robert Foss

drm/bridge/tc358775: Fix for dual-link LVDS

Fixed wrong register shift for single/dual link LVDS output.
Tested-by: default avatarJiri Vanek <jirivanek1@gmail.com>
Signed-off-by: default avatarJiri Vanek <jirivanek1@gmail.com>
Reviewed-by: default avatarVinay Simha BN <simhavcs@gmail.com>
Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220106190027.1498-1-jirivanek1@gmail.com
parent 36e19546
...@@ -241,7 +241,7 @@ static inline u32 TC358775_LVCFG_PCLKDIV(uint32_t val) ...@@ -241,7 +241,7 @@ static inline u32 TC358775_LVCFG_PCLKDIV(uint32_t val)
} }
#define TC358775_LVCFG_LVDLINK__MASK 0x00000002 #define TC358775_LVCFG_LVDLINK__MASK 0x00000002
#define TC358775_LVCFG_LVDLINK__SHIFT 0 #define TC358775_LVCFG_LVDLINK__SHIFT 1
static inline u32 TC358775_LVCFG_LVDLINK(uint32_t val) static inline u32 TC358775_LVCFG_LVDLINK(uint32_t val)
{ {
return ((val) << TC358775_LVCFG_LVDLINK__SHIFT) & return ((val) << TC358775_LVCFG_LVDLINK__SHIFT) &
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment