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

Skip to content
Commit e700f3f6 authored by Sayali Lokhande's avatar Sayali Lokhande Committed by Gerrit - the friendly Code Review server
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 b29f3404
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