summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-08-31 10:49:46 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2016-09-22 11:39:00 +0300
commit6ac95d821216f3baab16821a893d52ab385824be (patch)
tree8183c33b98ba4f77168b1f6e9d26cab1998fe0a5 /fs/ext4
parent535e0abc0534b139b067d496bb93663acffb72ce (diff)
downloadlinux-6ac95d821216f3baab16821a893d52ab385824be.tar.xz
pcmcia: soc_common: restore previous socket state on error
If an attempt to set a socket state returns an error, restore the previous socket state. If restoring the previous socket state fails, warn about this. This allows us to have simple error handling in the socket state configuration handlers - there is no need for every handler implementation to manually undo the updates, which can be complex when regulators are involved. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions