summaryrefslogtreecommitdiffstats
path: root/include/sound/sof
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-06-07 10:23:20 -0700
committerGuenter Roeck <linux@roeck-us.net>2019-06-23 18:33:01 -0700
commitf5b20b11bbc230f64c099b12c37121aacf6f0b65 (patch)
tree7552bf9f1b55b5daf221535b05437de6c77b4a59 /include/sound/sof
parentbf8c9edaa5c61999ed06c001d87c9a0c86cd0bf8 (diff)
downloadlinux-stable-f5b20b11bbc230f64c099b12c37121aacf6f0b65.tar.gz
linux-stable-f5b20b11bbc230f64c099b12c37121aacf6f0b65.tar.bz2
linux-stable-f5b20b11bbc230f64c099b12c37121aacf6f0b65.zip
hwmon: (max6650) Cache alarm_en register
The alarm_en register is read each time the is_visible function is called. Since it is a configuration register, this is completely unnecessary. Read it once and cache its value. Cc: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/sound/sof')
0 files changed, 0 insertions, 0 deletions