ARM: S3C64XX: Clear DMA flags on channel request
Subsystems (3)
PATCH 1/2 ARM: S3C64XX: Clear DMA flags on channel request
From: Charles Keepax <[email protected]>
This patch clears the DMA flags when a DMA channel is requested. This is necessary because otherwise the channel may inherit incompatible settings from its last usage.
--- arch/arm/mach-s3c64xx/dma.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-s3c64xx/dma.c +1 -0
@@ -509,6 +509,7 @@ int s3c2410_dma_request(enum dma_ch channel, chan->client = client; chan->in_use =1 ; chan->peripheral = channel; + chan->flags =0 ;local_irq_restore (flags);
Signature · 1 line
1.7.10.4
PATCH 2/2 ARM: S3C64XX: Slow down mic detection rate for wm5102
From: Charles Keepax <[email protected]>
A slightly slower rate provides more reliable jack detection during slower insertions.
--- arch/arm/mach-s3c64xx/mach-crag6410-module.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-s3c64xx/mach-crag6410-module.c +1 -0
@@ -210,6 +210,7 @@ static struct arizona_pdata wm5102_reva_pdata = { .gpio_base = CODEC_GPIO_BASE, .irq_active_high = true, .micd_pol_gpio = CODEC_GPIO_BASE + 4, + .micd_rate = 6, .gpio_defaults = { [2] = 0x10000, /* AIF3TXLRCLK */ [3] = 0x4, /* OPCLK */
Signature · 1 line
1.7.10.4
Kukjin Kim
AppliedPATCH 2/2 ARM: S3C64XX: Slow down mic detection rate for wm5102
Quoted 26 lines · Mark Brown
From: Charles Keepax <[email protected]>
A slightly slower rate provides more reliable jack detection during slower insertions.
Signed-off-by Charles Keepax <[email protected]>Signed-off-by Mark Brown <[email protected]>--- arch/arm/mach-s3c64xx/mach-crag6410-module.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach- renamed from arch/arm/mach-s3c64xx/mach-crag6410-module.c +0
-0
s3c64xx/mach-crag6410-module.c
index bf3d1c0..a946b75 100644arch/arm/mach-s3c64xx/mach-crag6410-module.c +1
-1@@ -210,6 +210,7 @@ static struct arizona_pdata wm5102_reva_pdata = { .gpio_base = CODEC_GPIO_BASE, .irq_active_high = true, .micd_pol_gpio = CODEC_GPIO_BASE + 4, + .micd_rate = 6, .gpio_defaults = { [2] = 0x10000, /* AIF3TXLRCLK */ [3] = 0x4, /* OPCLK */ --
Quoted 1 line
1.7.10.4
Applied, thanks.
- Kukjin
Kukjin Kim
AppliedPATCH 1/2 ARM: S3C64XX: Clear DMA flags on channel request
In reply to Mark BrownQuoted 26 lines · Mark Brown
From: Charles Keepax <[email protected]>
This patch clears the DMA flags when a DMA channel is requested. This is necessary because otherwise the channel may inherit incompatible settings from its last usage.
Signed-off-by Charles Keepax <[email protected]>Signed-off-by Mark Brown <[email protected]>--- arch/arm/mach-s3c64xx/dma.c | 1 + 1 file changed, 1 insertion(+)arch/arm/mach-s3c64xx/dma.c +1
-1@@ -509,6 +509,7 @@ int s3c2410_dma_request(enum dma_ch channel, chan->client = client; chan->in_use =1 ; chan->peripheral = channel; + chan->flags =0 ;local_irq_restore (flags); --
Quoted 1 line
1.7.10.4
Applied, thanks.
- Kukjin