Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ddb2e528 authored by Dan Sneddon's avatar Dan Sneddon
Browse files

spi: spi_qsd: Prevent unbalanced clock



If an error occurs trying to get resources such as gpio pins
the spi driver is trying to release resources it never aquired.
This patch checks the return status of the function that gets
the resources and skips releasing resources on if it fails.

Change-Id: Ib2a1c96d8d03d39dcd1444f803fe1e56f8162bed
Signed-off-by: default avatarDan Sneddon <dsneddon@codeaurora.org>
parent 5518d1be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment