commit | cf5701bf749683cc85827fd68c0890838a2b7fd4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed May 06 13:11:16 2020 +0300 |
committer | Sebastian Reichel <sre@kernel.org> | Sat May 09 01:59:37 2020 +0200 |
tree | c58f151496bc5f836e5fd52020617f49e3d29990 | |
parent | 2ad3d74e3c69fb371412f37d8226f2da3a3b6cc2 [diff] |
power: bq25890: unlock on error paths in bq25890_resume() We introduced some new locking here, but need to update the error paths so they unlock before returning. Fixes: 72d9cd9cdc18 ("power: bq25890: protect view of the chip's state") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>