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

Commit 9f4718f4 authored by Sayali Lokhande's avatar Sayali Lokhande
Browse files

scsi: ufs: Avoid writing null to Boot LUN enable attribute



In ufshcd_query_ioctl(), if attribute value passed in
user buffer is null, boot feature will be disabled and
device enters in EDL mode.
To fix this, add check in ioctl path to avoid writing 00h
to Boot LUN enable attribute.

Change-Id: Ib7983075de3d6968a215cbc8b79c42a20fcc71a4
Signed-off-by: default avatarSayali Lokhande <sayalil@codeaurora.org>
parent fc04d93a
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