summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSlawomir Stepien <sst@poczta.fm>2018-11-11 16:59:10 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-11-16 18:32:35 +0000
commit9829f9e5415c17824f23aa6e1573829256c8c298 (patch)
tree027b4a4bba40b4a531e8584d6e7e153bee65ee71 /include/linux/debugobjects.h
parent1d6b36752bb31c4407ec8e995b361ffdc15fb86d (diff)
downloadcachepc-linux-9829f9e5415c17824f23aa6e1573829256c8c298.tar.gz
cachepc-linux-9829f9e5415c17824f23aa6e1573829256c8c298.zip
staging: iio: adc: ad7280a: power down the device on error in probe
Power down the device if anything goes wrong after the SPI has been setup correctly in the probe function. Existing code that toggles the AD7280A_CTRL_LB_SWRST bit inside ad7280_chain_setup function is responsible for powering up the device. Signed-off-by: Slawomir Stepien <sst@poczta.fm> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions