Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1304409
| From | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 1/4] extcon: arizona: Remove enable/disable of 32k clock |
| Date | 2016-01-08 12:40 +0100 |
| Message-ID | <qODyF-63D-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The 32k clock is unconditionally enabled by the MFD core so there is no need to control it from the extcon device, so this patch removes the control of the 32k clock. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> --- No changes since v2. Thanks, Charles drivers/extcon/extcon-arizona.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index e4890dd..52d041f 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c @@ -1571,7 +1571,6 @@ static int arizona_extcon_probe(struct platform_device *pdev) goto err_micdet; } - arizona_clk32k_enable(arizona); regmap_update_bits(arizona->regmap, ARIZONA_JACK_DETECT_DEBOUNCE, ARIZONA_JD1_DB, ARIZONA_JD1_DB); regmap_update_bits(arizona->regmap, ARIZONA_JACK_DETECT_ANALOGUE, @@ -1642,7 +1641,6 @@ static int arizona_extcon_remove(struct platform_device *pdev) cancel_delayed_work_sync(&info->hpdet_work); regmap_update_bits(arizona->regmap, ARIZONA_JACK_DETECT_ANALOGUE, ARIZONA_JD1_ENA, 0); - arizona_clk32k_disable(arizona); return 0; } -- 2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v3 1/4] extcon: arizona: Remove enable/disable of 32k clock Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-01-08 12:40 +0100
[PATCH v3 4/4] mfd: arizona: Add device tree binding documentation for new clock driver Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-01-08 12:40 +0100
Re: [PATCH v3 4/4] mfd: arizona: Add device tree binding documentation for new clock driver Lee Jones <lee.jones@linaro.org> - 2016-01-11 11:30 +0100
[PATCH v3 2/4] clk: arizona: Add clock driver for the Arizona devices Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-01-08 12:40 +0100
[PATCH v3 3/4] mfd: arizona: Switch to using clock driver for 32k clock Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-01-08 12:40 +0100
Re: [PATCH v3 3/4] mfd: arizona: Switch to using clock driver for 32k clock Lee Jones <lee.jones@linaro.org> - 2016-01-11 11:30 +0100
Re: [PATCH v3 3/4] mfd: arizona: Switch to using clock driver for 32k clock Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-01-11 12:10 +0100
csiph-web