]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
davinci_mdio: Correct bitmask for clock divider value
authorChristian Riesch <christian.riesch@omicron.at>
Wed, 22 Feb 2012 22:07:58 +0000 (22:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Feb 2012 08:24:18 +0000 (03:24 -0500)
commit7c3a95a15ad2a5278498a72df0463131048926a3
tree60b711be3d2f20c414d5bcca4100e3e7a293a1f1
parentb4ad0428139491355ea8742294c77942c312c5bb
davinci_mdio: Correct bitmask for clock divider value

The CLKDIV bitfield in the MDIO Control Register is a 16 bit field,
therefore the CLKDIV value may range from 0 to 0xffff.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_mdio.c