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

Skip to content
Commit 378d03f4 authored by Sayali Lokhande's avatar Sayali Lokhande
Browse files

scsi: ufs: Add check before calling device_remove_file



This change adds check if clock scaling is supported before
calling device_remove_file on ufs clk_scaling.enable_attr to
avoid null pointer dereference.

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