]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: GPD pocket fan: Allow somewhat lower/higher temperature limits
authorHans de Goede <hdegoede@redhat.com>
Mon, 6 Jan 2020 14:42:19 +0000 (15:42 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Jan 2020 09:37:50 +0000 (11:37 +0200)
commit39ca77b30bc5af3c7e011649acd37ce5f4b8ae23
treecbf3e567dba801e0a204d5065904e8de1d3a74fe
parenta987d17de10cd304aad0dddd36ce6e5420c86375
platform/x86: GPD pocket fan: Allow somewhat lower/higher temperature limits

Allow the user to configure the fan to turn on / speed-up at lower
thresholds then before (20 degrees Celcius as minimum instead of 40) and
likewise also allow the user to delay the fan speeding-up till the
temperature hits 90 degrees Celcius (was 70).

Cc: Jason Anderson <jasona.594@gmail.com>
Reported-by: Jason Anderson <jasona.594@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/gpd-pocket-fan.c