17 Mar
2021
17 Mar
'21
9:21 p.m.
Add rk817 codec support cell to rk808 mfd driver.
Signed-off-by: Chris Morgan macromorgan@hotmail.com --- drivers/mfd/rk808.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index ad923dd4e007..adb8a7da29db 100644 --- a/drivers/mfd/rk808.c +++ b/drivers/mfd/rk808.c @@ -163,6 +163,12 @@ static const struct mfd_cell rk817s[] = { .num_resources = ARRAY_SIZE(rk817_rtc_resources), .resources = &rk817_rtc_resources[0], }, +#ifdef CONFIG_SND_SOC_RK817 + { + .name = "rk817-codec", + .of_compatible = "rockchip,rk817-codec", + }, +#endif };
static const struct mfd_cell rk818s[] = {
--
2.25.1