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

Commit a7b2b418 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

input: misc: qcom-hv-haptics: check nvmem before using it



Currently, nvmem device is used to store closed loop brake settings. If
nvmem-cells is not specified for closed loop brake, then nvmem device
can be NULL. For such case, skip updating closed loop brake settings by
not writing to the nvmem device.

Change-Id: I18d455814f3731af519949f21a3a553bd1692548
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 6d967e6d
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