2013-08-05 09:17:31

by Sachin Kamat

[permalink] [raw]
Subject: [PATCH 1/1] extcon: arizona: Fix a typo in a comment

Fixes an incomplete comment introduced by commit 9c2ba270
("extcon: arizona: Simplify HPDET based identification").

Signed-off-by: Sachin Kamat <[email protected]>
---
drivers/extcon/extcon-arizona.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index e557130..5061ae5 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -514,7 +514,7 @@ static int arizona_hpdet_do_id(struct arizona_extcon_info *info, int *reading,
}

/*
- * If we measure the mic as
+ * If we measure the mic as high impedance
*/
if (!id_gpio || info->hpdet_res[1] > 50) {
dev_dbg(arizona->dev, "Detected mic\n");
--
1.7.9.5


2013-08-19 08:32:55

by Chanwoo Choi

[permalink] [raw]
Subject: Re: [PATCH 1/1] extcon: arizona: Fix a typo in a comment

On 08/05/2013 06:00 PM, Sachin Kamat wrote:
> Fixes an incomplete comment introduced by commit 9c2ba270
> ("extcon: arizona: Simplify HPDET based identification").
>
> Signed-off-by: Sachin Kamat <[email protected]>
> ---
> drivers/extcon/extcon-arizona.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
> index e557130..5061ae5 100644
> --- a/drivers/extcon/extcon-arizona.c
> +++ b/drivers/extcon/extcon-arizona.c
> @@ -514,7 +514,7 @@ static int arizona_hpdet_do_id(struct arizona_extcon_info *info, int *reading,
> }
>
> /*
> - * If we measure the mic as
> + * If we measure the mic as high impedance
> */
> if (!id_gpio || info->hpdet_res[1] > 50) {
> dev_dbg(arizona->dev, "Detected mic\n");
>

Applied it.

Thanks,
Chanwoo Choi