diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-05-05 08:37:23 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-06-14 17:17:32 +0200 |
commit | cd307124ad9bb01019920c2053696218d161f4a1 (patch) | |
tree | bc8a092a7fcb19ec75b79f4405ef53d62855a3cc /drivers/firmware/raspberrypi.c | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | linux-next-cd307124ad9bb01019920c2053696218d161f4a1.tar.gz |
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>
Diffstat (limited to 'drivers/firmware/raspberrypi.c')
0 files changed, 0 insertions, 0 deletions