diff options
| author | Srinivas Pandruvada <[email protected]> | 2023-10-04 18:19:15 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-10-11 09:20:16 +0000 |
| commit | 4d73c6772ab771cbbe7e46a73e7c78ba490350fa (patch) | |
| tree | d941fd7590bf0f97062ac9491c5f01fb22f9ffe8 /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | Merge tag 'platform-drivers-x86-mellanox-init-v6.6' into fixes (diff) | |
| download | kernel-4d73c6772ab771cbbe7e46a73e7c78ba490350fa.tar.gz kernel-4d73c6772ab771cbbe7e46a73e7c78ba490350fa.zip | |
platform/x86: intel-uncore-freq: Conditionally create attribute for read frequency
When the current uncore frequency can't be read, don't create attribute
"current_freq_khz" as any read will fail later. Some user space
applications like turbostat fail to continue with the failure. So, check
error during attribute creation.
Fixes: 414eef27283a ("platform/x86/intel/uncore-freq: Display uncore current frequency")
Signed-off-by: Srinivas Pandruvada <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions
