aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2017-09-18 04:04:20 -0400
committerKishon Vijay Abraham I <kishon@ti.com>2017-09-26 07:32:48 -0400
commitcaef3e0b657d091a540232e07e5e5b4648110a52 (patch)
tree8f4686bbfd748ac082edc984782883c8f132182b /net/lapb/lapb_out.c
parent554a56fc83f679c73b4f851a330045d0ec7ec1a5 (diff)
phy: mvebu-cp110-comphy: fix mux error check
The mux value is retrieved from the mvebu_comphy_get_mux() function which returns an int. In mvebu_comphy_power_on() this int is stored to a u32 and a check is made to ensure it's not negative. Which is wrong. This fixes it. Fixes: d0438bd6aa09 ("phy: add the mvebu cp110 comphy driver") Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions