commit | 6a765c3fe5497359c11536dfbdcf7526ccb2a33f | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Thu Nov 17 23:49:43 2016 +0000 |
committer | Russell King <rmk+kernel@armlinux.org.uk> | Tue Apr 03 12:21:54 2018 +0100 |
tree | 1085f03e2b884648829fe80675b006553df3f23e | |
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>