]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
hwmon: (w83795) temp4_type has writable permission
authorHuacai Chen <chenhc@lemote.com>
Thu, 15 Nov 2018 02:44:57 +0000 (10:44 +0800)
committerSultan Alsawaf <sultan.alsawaf@canonical.com>
Wed, 24 Jul 2019 15:45:08 +0000 (09:45 -0600)
commit021f716a5329136f43ae925bb325564c3dd6bcbc
tree53a9eef78322a13edd66e711d22f190c71e00c4a
parent073d5e112d1a45cf5dd169c2f3d351bb768a230d
hwmon: (w83795) temp4_type has writable permission

BugLink: https://bugs.launchpad.net/bugs/1837161
[ Upstream commit 09aaf6813cfca4c18034fda7a43e68763f34abb1 ]

Both datasheet and comments of store_temp_mode() tell us that temp1~4_type
is writable, so fix it.

Signed-off-by: Yao Wang <wangyao@lemote.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Fixes: 39deb6993e7c (" hwmon: (w83795) Simplify temperature sensor type handling")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/hwmon/w83795.c