clk: sunxi-ng: mux: Increase fixed pre-divider div size
Some clocks have a predivider value that is larger than what u8 can store. One such example is the OUT clk found on A20/A31, which has a /750 pre-divider on one of the osc24M parents. Increase the size of the div field to u16. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:

committed by
Maxime Ripard

parent
29b4817d40
commit
178ca5312a
@@ -11,7 +11,7 @@ struct ccu_mux_internal {
|
||||
|
||||
struct {
|
||||
u8 index;
|
||||
u8 div;
|
||||
u16 div;
|
||||
} fixed_prediv;
|
||||
|
||||
struct {
|
||||
|
Reference in New Issue
Block a user