diff options
| author | Martin Blumenstingl <[email protected]> | 2020-12-05 21:32:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-12-08 01:58:22 +0000 |
| commit | 82ca4c922b8992013a238d65cf4e60cc33e12f36 (patch) | |
| tree | 7917fb2cd68873ba1c11bbb0ce50448ce4433214 /net/tipc/node.c | |
| parent | dpaa2-mac: Add a missing of_node_put after of_device_is_available (diff) | |
| download | kernel-82ca4c922b8992013a238d65cf4e60cc33e12f36.tar.gz kernel-82ca4c922b8992013a238d65cf4e60cc33e12f36.zip | |
net: stmmac: dwmac-meson8b: fix mask definition of the m250_sel mux
The m250_sel mux clock uses bit 4 in the PRG_ETH0 register. Fix this by
shifting the PRG_ETH0_CLK_M250_SEL_MASK accordingly as the "mask" in
struct clk_mux expects the mask relative to the "shift" field in the
same struct.
While here, get rid of the PRG_ETH0_CLK_M250_SEL_SHIFT macro and use
__ffs() to determine it from the existing PRG_ETH0_CLK_M250_SEL_MASK
macro.
Fixes: 566e8251625304 ("net: stmmac: add a glue driver for the Amlogic Meson 8b / GXBB DWMAC")
Signed-off-by: Martin Blumenstingl <[email protected]>
Reviewed-by: Jerome Brunet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
