diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-11-17 23:49:43 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2018-04-03 12:21:54 +0100 |
commit | 6a765c3fe5497359c11536dfbdcf7526ccb2a33f (patch) | |
tree | 1085f03e2b884648829fe80675b006553df3f23e /drivers/net/xen-netback/interface.c | |
parent | d93ae190e2c95276caceb3642e6d541d93bba705 (diff) |
drm/i2c: tda998x: fix error cleanup paths
If tda998x_get_audio_ports() fails, and we requested the interrupt, we
fail to free the interrupt before returning failure. Rework the failure
cleanup code and exit paths so that we always clean up properly after an
error, and always propagate the error code.
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions