diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-26 09:19:02 -0700 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-26 09:19:02 -0700 | 
| commit | e58b9a25eeb89ab2ee05cd093f6d7bc2f34acb21 (patch) | |
| tree | 40162c796bc60f00d062b37718dc62adc970ac07 /arch/arm/mach-omap2/gpmc.c | |
| parent | a6025a2a861845447adeb7a11c3043039959d3a1 (diff) | |
| parent | df8c3dbee9e6f19ddb0ae8e05cdf76eb2d3b7f00 (diff) | |
| download | olio-linux-3.10-e58b9a25eeb89ab2ee05cd093f6d7bc2f34acb21.tar.xz olio-linux-3.10-e58b9a25eeb89ab2ee05cd093f6d7bc2f34acb21.zip | |
Merge tag 'arizona-extcon-asoc' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc into char-misc-next
Mark writes:
	ASoC/extcon: arizona: Fix interaction between HPDET and headphone outputs
	This patch series covers both ASoC and extcon subsystems and fixes an
	interaction between the HPDET function and the headphone outputs - we
	really shouldn't run HPDET while the headphone is active.  The first
	patch is a refactoring to make the extcon side easier.
Diffstat (limited to 'arch/arm/mach-omap2/gpmc.c')
| -rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index e4b16c8efe8..410e1bac781 100644 --- a/arch/arm/mach-omap2/gpmc.c +++ b/arch/arm/mach-omap2/gpmc.c @@ -1122,9 +1122,6 @@ int gpmc_calc_timings(struct gpmc_timings *gpmc_t,  	/* TODO: remove, see function definition */  	gpmc_convert_ps_to_ns(gpmc_t); -	/* Now the GPMC is initialised, unreserve the chip-selects */ -	gpmc_cs_map = 0; -  	return 0;  } @@ -1383,6 +1380,9 @@ static int gpmc_probe(struct platform_device *pdev)  	if (IS_ERR_VALUE(gpmc_setup_irq()))  		dev_warn(gpmc_dev, "gpmc_setup_irq failed\n"); +	/* Now the GPMC is initialised, unreserve the chip-selects */ +	gpmc_cs_map = 0; +  	rc = gpmc_probe_dt(pdev);  	if (rc < 0) {  		clk_disable_unprepare(gpmc_l3_clk); |