video: dw_mipi_dsi: fix [hv]sync active vs back porch
authorJohn Keeping <john@metanate.com>
Wed, 7 Sep 2022 11:06:32 +0000 (12:06 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sun, 30 Oct 2022 07:19:45 +0000 (08:19 +0100)
commit720927249788826e0e72c3c6ee3b696a0188ed4d
tree8750e6d55c355cd6e3c515a0618a184ffc62c14c
parentfb63362c63c7aeacb1dfde330ee8f692da7972f9
video: dw_mipi_dsi: fix [hv]sync active vs back porch

The wrong fields are pulled out of the timings here so the values
programmed into the DSI_VID_HSA_LINES/DSI_VID_HBP_LINES and
DSI_VID_VSA_LINES/DSI_VID_VBP_LINES registers are swapped.

Use the right fields so that the correct values are programmed.

Fixes: d4f7ea83fc ("video: add MIPI DSI host controller bridge")
Signed-off-by: John Keeping <john@metanate.com>
drivers/video/dw_mipi_dsi.c