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)
commit1f27dbd8265dbb379926c8f6a4453fe7fe26d7a3
treecbf3e567dba801e0a204d5065904e8de1d3a74fe
parent6ae01050e49f0080ae30575d9b45a6d4a3d7ee23
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