aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorQiushi Wu <[email protected]>2020-05-22 22:16:08 -0500
committerEnric Balletbo i Serra <[email protected]>2020-06-30 11:41:25 +0200
commitaaa3cbbac326c95308e315f1ab964a3369c4d07d (patch)
treec266c503d57c6c226a938eeb9beb2fdb30cc12d3 /drivers/fpga/fpga-bridge.c
parent9a876ba58d1e660e7957dd7afd1129b615eb1e04 (diff)
platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
In function cros_ec_ishtp_probe(), "up_write" is already called before function "cros_ec_dev_init". But "up_write" will be called again after the calling of the function "cros_ec_dev_init" failed. Thus add a call of the function “down_write” in this if branch for the completion of the exception handling. Fixes: 26a14267aff2 ("platform/chrome: Add ChromeOS EC ISHTP driver") Signed-off-by: Qiushi Wu <[email protected]> Tested-by: Mathew King <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions