TI DaVinci EMAC: Fix MDIO bus frequency configuration
authorNageswari Srinivasan <nageswari@ti.com>
Sat, 19 Dec 2009 04:21:21 +0000 (20:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Dec 2009 04:21:21 +0000 (20:21 -0800)
commitf9c4171e01f6befdf5d15346070b819d341c9c73
tree84e78ae4dd2796fdf8f38a68918daeaff495a596
parent70abc8cb90e679d8519721e2761d8366a18212a6
TI DaVinci EMAC: Fix MDIO bus frequency configuration

There was a typo in "if condition" checking for validity of MDIO
bus frequency passed as part of platform data. Bitwise AND was
being used instead of a Logical AND.

Tested on: DM6467 EVM

Signed-off-by: Nageswari Srinivasan <nageswari@ti.com>
Acked-by: Anant Gole <anantgole@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/davinci_emac.c