commit | cd307124ad9bb01019920c2053696218d161f4a1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri May 05 08:37:23 2017 +0300 |
committer | Thierry Reding <treding@nvidia.com> | Wed Jun 14 17:17:32 2017 +0200 |
tree | bc8a092a7fcb19ec75b79f4405ef53d62855a3cc | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 [diff] |
firmware: tegra: Fix locking bugs in BPMP There are a bunch of error paths were we don't unlock the bpmp->threaded lock. Also if __tegra_bpmp_channel_write() fails then we returned success instead of an error code. Fixes: 983de5f97169 ("firmware: tegra: Add BPMP support") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Thierry Reding <treding@nvidia.com>