extcon: arizona: Remove duplicate rate configuration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 21 Jan 2013 08:35:44 +0000 (17:35 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Jan 2013 01:32:03 +0000 (09:32 +0800)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/extcon/extcon-arizona.c

index 528303440c2e794d639e0e4af32ceac15ebcfc04..ab8b9c7359fbfe791b657be92ba0ee1777e33455 100644 (file)
@@ -1003,10 +1003,6 @@ static int arizona_extcon_probe(struct platform_device *pdev)
                goto err_micdet;
        }
 
-       regmap_update_bits(arizona->regmap, ARIZONA_MIC_DETECT_1,
-                          ARIZONA_MICD_RATE_MASK,
-                          8 << ARIZONA_MICD_RATE_SHIFT);
-
        arizona_clk32k_enable(arizona);
        regmap_update_bits(arizona->regmap, ARIZONA_JACK_DETECT_DEBOUNCE,
                           ARIZONA_JD1_DB, ARIZONA_JD1_DB);