summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-03-12 09:15:28 +0800
committerLuis Henriques <luis.henriques@canonical.com>2015-05-05 11:09:28 +0100
commit907fd2ce400f85461e5f6242709340c940a5f24f (patch)
tree3ff2ea5b287a6efe86c82dd935946c7d89ac6176 /include/linux
parent2be67adda42b05be04f5859844b9d84130d83780 (diff)
usb: phy: Find the right match in devm_usb_phy_match
commit 869aee0f31429fa9d94d5aef539602b73ae0cf4b upstream. The res parameter passed to devm_usb_phy_match() is the location where the pointer to the usb_phy is stored, hence it needs to be dereferenced before comparing to the match data in order to find the correct match. Fixes: 410219dcd2ba ("usb: otg: utils: devres: Add API's to associate a device with the phy") Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions