summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-21 17:29:44 +0400
committerDavid S. Miller <davem@davemloft.net>2014-05-22 23:43:02 +0400
commitc242a47238fa2a6a54af8a16e62b54e6e031d4bc (patch)
tree5ac5dadf274ad245349b5c49b6aa13fbb7a91e7b /drivers/of
parenta6cea535e0cb85ece0673ac10f9d81779225564f (diff)
downloadlinux-c242a47238fa2a6a54af8a16e62b54e6e031d4bc.tar.xz
net: phy: genphy: Allow overwriting features
of_set_phy_supported allows overwiting hardware capabilities of a phy with values from the devicetree. This does not work with the genphy driver though because the genphys config_init function will overwrite all values adjusted by of_set_phy_supported. Fix this by initialising the genphy features in the phy_driver struct and in config_init just limit the features to the ones the hardware can actually support. The resulting features are a subset of the devicetree specified features and the hardware features. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions