]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: GPD pocket fan: Use a min-speed of 2 while charging
authorHans de Goede <hdegoede@redhat.com>
Fri, 19 Jan 2018 20:47:08 +0000 (21:47 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Jan 2018 18:44:15 +0000 (20:44 +0200)
commitba9b5ca8bda0c8e541949bd7c5a5414c416361ad
treed7f070aeea0189b18281c4cfb99a5eaf3ec9da4b
parent091d03a5771ff795ebc5c518d6652544e7d7c7a2
platform/x86: GPD pocket fan: Use a min-speed of 2 while charging

Newer versions of the GPD pocket BIOS set the fan-speed to 2 when a
charger gets plugged in while the device is off. Mirror this in our
fan driver and use a minimum speed of 2 while charging,

Cc: James <kernel@madingley.org>
Suggested-by: James <kernel@madingley.org>
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