Skip to content
Unverified Commit 054eb877 authored by Volodymyr Babchuk's avatar Volodymyr Babchuk Committed by Caleb Connolly
Browse files

clk: qcom: clear div mask before assigning a new divider



The current behaviour does a bitwise OR of the previous and new
divider values, this is wrong as some bits may be set already. We
need to clear all the divider bits before applying new ones.

This fixes potential issue with 1Gbit ethernet on SA8155P-ADP boards.

Signed-off-by: default avatarVolodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: default avatarCaleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: default avatarSumit Garg <sumit.garg@linaro.org>
[caleb: minor wording fix]
Signed-off-by: default avatarCaleb Connolly <caleb.connolly@linaro.org>
parent 86eb5d83
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