summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/menf21bmc.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-09-04 15:22:42 +0200
committerLee Jones <lee.jones@linaro.org>2017-09-05 08:46:02 +0100
commitb01e9348e106544e50691252bf58cde239681f19 (patch)
treea2403d7f5ec17fe3bac703c881f01db46be34572 /drivers/mfd/menf21bmc.c
parent4d9ed62ab1425d85b25d04096cb4e74117e6dc24 (diff)
downloadblackbird-op-linux-b01e9348e106544e50691252bf58cde239681f19.tar.gz
blackbird-op-linux-b01e9348e106544e50691252bf58cde239681f19.zip
mfd: intel_soc_pmic: Differentiate between Bay and Cherry Trail CRC variants
Both Bay and Cherry Trail devices may be used together with a Crystal Cove PMIC. Each platform has its own variant of the PMIC, which both use the same ACPI HID, but they are not 100% compatible. This commits makes the intel_soc_pmic_core code check the _HRV of the ACPI-firmware-node and selects intel_soc_pmic_config_byt_crc resp. intel_soc_pmic_config_cht_crc based on this. This fixes the Bay Trail specific ACPI OpRegion code causing problems on Cherry Trail devices. Specifically this was causing the external microsd slot on a Dell Venue 8 5855 (Cherry Trail version) to not work and the eMMC to become unreliable and throw lots of errors. Fixes: 5165238460 ("mfd: intel_soc_pmic: Core driver") Reported-and-tested-by: russianneuromancer <russianneuromancer@ya.ru> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/menf21bmc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud