summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-05-21 23:32:23 +0200
committerMarek Vasut <[email protected]>2020-05-29 19:18:55 +0200
commit10bcafb8ace549e7e93afa335212a8e9072c5d0c (patch)
treeea4b3ca57dab6658f612d3583017587c04264fe7 /include/linux/string.h
parent3da0291ba9b4a429ed9226569c9014f5c7e13ac3 (diff)
usb: ehci-mx6: Handle fixed regulators correctly
The regulator-fixed would return -ENOSYS when enabled/disabled, because this operation is not supported, but this is not an error e.g. on systems where the VBUS cannot be controlled, so if this is the error code reported by the regulator core, consider it a success and continue. Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions