Accessory detect mode 1 is missing a default, add one to the table.
Signed-off-by: Charles Keepax <[email protected]>
---
This patch can be applied separately from the other patches in the series,
if needed.
Thanks,
Charles
drivers/mfd/cs47l15-tables.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mfd/cs47l15-tables.c b/drivers/mfd/cs47l15-tables.c
index f81b45336690e..3c77f0a24e9bd 100644
--- a/drivers/mfd/cs47l15-tables.c
+++ b/drivers/mfd/cs47l15-tables.c
@@ -112,6 +112,7 @@ static const struct reg_default cs47l15_reg_default[] = {
{ 0x000001dd, 0x0011 }, /* R477 (0x1DD) - FLL AO Control 11 */
{ 0x00000218, 0x00e6 }, /* R536 (0x218) - Mic Bias Ctrl 1 */
{ 0x0000021c, 0x0222 }, /* R540 (0x21C) - Mic Bias Ctrl 5 */
+ { 0x00000293, 0x0080 }, /* R659 (0x293) - Accessory Detect Mode 1 */
{ 0x00000299, 0x0000 }, /* R665 (0x299) - Headphone Detect 0 */
{ 0x0000029b, 0x0000 }, /* R667 (0x29B) - Headphone Detect 1 */
{ 0x000002a2, 0x0010 }, /* R674 (0x2A2) - Mic Detect 1 Control 0 */
--
2.11.0
On Tue, 14 Jan 2020, Charles Keepax wrote:
> Accessory detect mode 1 is missing a default, add one to the table.
>
> Signed-off-by: Charles Keepax <[email protected]>
> ---
>
> This patch can be applied separately from the other patches in the series,
> if needed.
>
> Thanks,
> Charles
>
> drivers/mfd/cs47l15-tables.c | 1 +
> 1 file changed, 1 insertion(+)
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog