Second version of a patch that switches the fan profile together with the platform profile on Microsoft Surface Pro 9 devices, improving the cooling. Originally submitted in [1] which describes the changes in more detail. Changes in v2: - Use u8 instead of char for the argument of __sam_fan_profile_set. - Made profile and profile_le variable const. - Added link entry pointing to the Github PR to commit message. - Rebased the commit on Torvalds' main branch. [1]: https://lore.kernel.org/all/20240302170147.13026-1-ivor@xxxxxxxxxxxx/ Ivor Wanders (1): platform/surface: platform_profile: add fan profile switching .../surface/surface_aggregator_registry.c | 36 +++++--- .../surface/surface_platform_profile.c | 88 ++++++++++++++++--- 2 files changed, 100 insertions(+), 24 deletions(-) -- 2.17.1