]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: mlx-platform: Fix access mode for fan_dir attribute
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 26 Feb 2019 08:20:34 +0000 (08:20 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Thu, 7 Mar 2019 16:46:29 +0000 (08:46 -0800)
commit2a0197655dc34c99e4c932de7003bca22388c12a
treef7ccc660a68e423283006eff67f6678ee4bbf003
parent3ce19b37f8f4604ccda8ae42efac9fe73bcab3a0
platform/x86: mlx-platform: Fix access mode for fan_dir attribute

Fix access mode for "fan_dir" attribute from "write only" to
"read only". This attribute is exposed to leds-mlxreg driver.
The purpose of this attribute is to provide information about FAN
direction setting on the system (forward or backward).
It is relevant for the next generation systems MQMB7xx, MSN37xx,
MSN34xx, MSN38xx.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c