Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6cc4758a authored by Stefan Agner's avatar Stefan Agner
Browse files

drm/fsl-dcu: fix endian issue when using clk_register_divider



Since using clk_register_divider to setup the pixel clock, regmap
is no longer used. Regmap did take care of DCU using different
endianness. Check endianness using the device-tree property
"big-endian" to determine the location of DIV_RATIO.

Cc: stable@vger.kernel.org
Fixes: 2d701449 ("drm/fsl-dcu: use common clock framework for pixel clock divider")
Reported-by: default avatarMeng Yi <meng.yi@nxp.com>
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Tested-by: default avatarMeng Yi <meng.yi@nxp.com>
parent 2b2fd56d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment