mirror-linux/drivers/platform/x86/intel
Srinivas Pandruvada 61549b7414 platform/x86/intel-uncore-freq: Return error on write frequency
commit 75e406b540 upstream.

Currently when the uncore_write() returns error, it is silently
ignored. Return error to user space when uncore_write() fails.

Fixes: 49a474c7ba ("platform/x86: Add support for Uncore frequency control")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Wendy Wang <wendy.wang@intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230418153230.679094-1-srinivas.pandruvada@linux.intel.com
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-17 11:53:43 +02:00
..
atomisp2
ifs
int1092
int3472 platform/x86: int3472: Add GPIOs to Surface Go 3 Board data 2023-03-30 12:49:19 +02:00
pmc platform/x86/intel/pmc: Alder Lake PCH slp_s0_residency fix 2023-04-06 12:10:46 +02:00
pmt
speed_select_if
telemetry
uncore-frequency platform/x86/intel-uncore-freq: Return error on write frequency 2023-05-17 11:53:43 +02:00
wmi
Kconfig
Makefile
bxtwc_tmu.c
chtdc_ti_pwrbtn.c
chtwc_int33fe.c
crystal_cove_charger.c
hid.c
int0002_vgpio.c
ishtp_eclite.c
mrfld_pwrbtn.c
oaktrail.c
punit_ipc.c
rst.c
sdsi.c
smartconnect.c
turbo_max_3.c
vbtn.c
vsec.c platform/x86/intel: vsec: Fix a memory leak in intel_vsec_add_aux 2023-04-26 14:28:35 +02:00
vsec.h