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

Commit 6cd659f2 authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan
Browse files

mmc: block: fix DCMD timeout err handling



DCMD requests don't have data, check for the data pointer before
accessing it to prevent null pointer dereference in case of DCMD
timeout err. Also signal a completion event for non flush requests
like discard that wait for the completion of DCMD request.

Change-Id: Ia71a5f1e278a039ba22f6ac42614d9ae79dba7e9
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
parent ea0c0d74
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