diff options
Diffstat (limited to 'drivers/extcon/extcon-max77693.c')
-rw-r--r-- | drivers/extcon/extcon-max77693.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 38f9e52f358..e21387e2da5 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c | |||
@@ -356,7 +356,7 @@ static int max77693_muic_adc_ground_handler(struct max77693_muic_info *info, | |||
356 | extcon_set_cable_state(info->edev, "MHL", attached); | 356 | extcon_set_cable_state(info->edev, "MHL", attached); |
357 | break; | 357 | break; |
358 | default: | 358 | default: |
359 | dev_err(info->dev, "faild to detect %s accessory\n", | 359 | dev_err(info->dev, "failed to detect %s accessory\n", |
360 | attached ? "attached" : "detached"); | 360 | attached ? "attached" : "detached"); |
361 | dev_err(info->dev, "- adc:0x%x, adclow:0x%x, adc1k:0x%x\n", | 361 | dev_err(info->dev, "- adc:0x%x, adclow:0x%x, adc1k:0x%x\n", |
362 | adc, adclow, adc1k); | 362 | adc, adclow, adc1k); |
@@ -548,7 +548,7 @@ static void max77693_muic_irq_work(struct work_struct *work) | |||
548 | curr_adc = info->status[0] & STATUS1_ADC_MASK; | 548 | curr_adc = info->status[0] & STATUS1_ADC_MASK; |
549 | curr_adc >>= STATUS1_ADC_SHIFT; | 549 | curr_adc >>= STATUS1_ADC_SHIFT; |
550 | 550 | ||
551 | /* Check accossory state which is either detached or attached */ | 551 | /* Check accessory state which is either detached or attached */ |
552 | if (curr_adc == MAX77693_MUIC_ADC_OPEN) | 552 | if (curr_adc == MAX77693_MUIC_ADC_OPEN) |
553 | attached = false; | 553 | attached = false; |
554 | 554 | ||
@@ -564,7 +564,7 @@ static void max77693_muic_irq_work(struct work_struct *work) | |||
564 | curr_chg_type = info->status[1] & STATUS2_CHGTYP_MASK; | 564 | curr_chg_type = info->status[1] & STATUS2_CHGTYP_MASK; |
565 | curr_chg_type >>= STATUS2_CHGTYP_SHIFT; | 565 | curr_chg_type >>= STATUS2_CHGTYP_SHIFT; |
566 | 566 | ||
567 | /* Check charger accossory state which | 567 | /* Check charger accessory state which |
568 | is either detached or attached */ | 568 | is either detached or attached */ |
569 | if (curr_chg_type == MAX77693_CHARGER_TYPE_NONE) | 569 | if (curr_chg_type == MAX77693_CHARGER_TYPE_NONE) |
570 | attached = false; | 570 | attached = false; |
@@ -699,7 +699,7 @@ static int __devinit max77693_muic_probe(struct platform_device *pdev) | |||
699 | 699 | ||
700 | ret = request_threaded_irq(virq, NULL, | 700 | ret = request_threaded_irq(virq, NULL, |
701 | max77693_muic_irq_handler, | 701 | max77693_muic_irq_handler, |
702 | 0, muic_irq->name, info); | 702 | IRQF_ONESHOT, muic_irq->name, info); |
703 | if (ret) { | 703 | if (ret) { |
704 | dev_err(&pdev->dev, | 704 | dev_err(&pdev->dev, |
705 | "failed: irq request (IRQ: %d," | 705 | "failed: irq request (IRQ: %d," |