drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz
authorJyri Sarha <jsarha@ti.com>
Mon, 27 May 2019 13:47:54 +0000 (16:47 +0300)
committerAndrzej Hajda <a.hajda@samsung.com>
Fri, 31 May 2019 13:57:19 +0000 (15:57 +0200)
commit8dbfc5b65023b67397aca28e8adb25c819f6398c
tree4fb69c90dd31bfcca16b91d2bfc386bd2b935fd6
parentbceee9bb894887ac38fae0f3f784dad4302114fd
drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz

The pixel clock unit in the first two registers (0x00 and 0x01) of
sii9022 is 10kHz, not 1kHz as in struct drm_display_mode. Division by
10 fixes the issue.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1a2a8eae0b9d6333e7a5841026bf7fd65c9ccd09.1558964241.git.jsarha@ti.com
drivers/gpu/drm/bridge/sii902x.c