]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mfd: intel_soc_pmic_bxtwc: Convert to use new SCU IPC API
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 16 Apr 2020 08:15:43 +0000 (11:15 +0300)
committerLee Jones <lee.jones@linaro.org>
Fri, 24 Apr 2020 10:17:58 +0000 (11:17 +0100)
commit4181bc8f6fab150f197a696861599502727e0e95
tree197cd9cb8db47d999440790e71aa3cd5c90e36e6
parente7d3c33c58e0108e38e969239cd3b3678a5d8ac5
mfd: intel_soc_pmic_bxtwc: Convert to use new SCU IPC API

Convert the Intel Broxton Whiskey Cover PMIC driver to use the new SCU
IPC API. This allows us to get rid of the PMC IPC implementation which
is now covered in SCU IPC driver. We drop the error log if the IPC
command fails because intel_scu_ipc_dev_command() does that already.

Also move PMIC specific IPC message constants to the PMIC driver from
the intel_pmc_ipc.h header.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/x86/include/asm/intel_pmc_ipc.h
drivers/mfd/intel_soc_pmic_bxtwc.c