mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-08-19 13:51:11 +00:00
Update the condition to check valid hwmon before accessing it because during parallel usecase of resume call and scaling_max_freq store call it triggers a call to governor to get frequency and governor tries to access hwmon node from devfreq pointer and it will be NULL if the governor has failed to start. Change-Id: I6ee7b784c3cf5e62d5f3f5b48e75ed44483d1a50 Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>