diff options
Diffstat (limited to 'drivers/extcon/extcon-arizona.c')
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index 9e1d104803e7..635b7078ce5e 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -417,6 +417,12 @@ static int arizona_extcon_probe(struct platform_device *pdev) | |||
417 | } | 417 | } |
418 | } | 418 | } |
419 | 419 | ||
420 | if (arizona->pdata.micd_bias_start_time) | ||
421 | regmap_update_bits(arizona->regmap, ARIZONA_MIC_DETECT_1, | ||
422 | ARIZONA_MICD_BIAS_STARTTIME_MASK, | ||
423 | arizona->pdata.micd_bias_start_time | ||
424 | << ARIZONA_MICD_BIAS_STARTTIME_SHIFT); | ||
425 | |||
420 | arizona_extcon_set_mode(info, 0); | 426 | arizona_extcon_set_mode(info, 0); |
421 | 427 | ||
422 | info->input = devm_input_allocate_device(&pdev->dev); | 428 | info->input = devm_input_allocate_device(&pdev->dev); |