summaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-10-24 23:38:24 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-10-25 11:43:08 +0200
commita0fcfed1389ece70c7a2f6044437032b64300504 (patch)
tree08d30deeff19a81a3a6d26db28ca684335c2437c /sound/i2c
parent7d194c2100ad2a6dded545887d02754948ca5241 (diff)
downloadlinux-a0fcfed1389ece70c7a2f6044437032b64300504.tar.gz
linux-a0fcfed1389ece70c7a2f6044437032b64300504.tar.bz2
linux-a0fcfed1389ece70c7a2f6044437032b64300504.zip
ACPI / PMIC: Do not register handlers for unhandled OpRegions
For some model PMIC's used on Intel boards we do not know how to handle the power or thermal opregions because we have no documentation. For example in the intel_pmic_chtwc.c driver thermal_table_count is 0, which means that our PMIC_THERMAL_OPREGION_ID handler will always fail with AE_BAD_PARAMETER, in this case it is better to simply not register the handler at all. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions