aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorPi-Cheng Chen <[email protected]>2015-11-29 16:31:37 +0800
committerRafael J. Wysocki <[email protected]>2015-12-10 00:27:33 +0100
commit40be4c3ccbf4078e2f8426a7962879b7a447cde4 (patch)
tree2dd612083c7b3c680888813713706cf98ec22501 /drivers/fpga/fpga-mgr.c
parent93625d52e7a74492416f77fed945ba34e0ae0c18 (diff)
cpufreq: mt8173: check return value of regulator_get_voltage() call
Sometimes regulator_get_voltage() call returns negative values for reasons(e.g. underlying I2C bus timeout). Add check for the return values and fail out early. Signed-off-by: Pi-Cheng Chen <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions