summaryrefslogtreecommitdiff
path: root/drivers/firmware/raspberrypi.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-05-05 08:37:23 +0300
committerThierry Reding <treding@nvidia.com>2017-06-14 17:17:32 +0200
commitcd307124ad9bb01019920c2053696218d161f4a1 (patch)
treebc8a092a7fcb19ec75b79f4405ef53d62855a3cc /drivers/firmware/raspberrypi.c
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
downloadlinux-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