RE: [alsa-devel] [RESEND PATCH v2 1/1] ASoC: dwc: fix dma stop transferring issue

2015-10-01 Thread yitian
Hi Mark: > From: alsa-devel-boun...@alsa-project.org > [mailto:alsa-devel-boun...@alsa-project.org] On Behalf Of yitian > Sent: Thursday, October 1, 2015 10:25 AM > To: 'Mark Brown' > Cc: alsa-de...@alsa-project.org; w...@the-dreams.de; > linux-kernel@vger.kernel

RE: [alsa-devel] [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method

2015-10-02 Thread yitian
Hi Mark: > From: alsa-devel-boun...@alsa-project.org > [mailto:alsa-devel-boun...@alsa-project.org] On Behalf Of Mark Brown > Sent: Thursday, October 1, 2015 6:04 PM > To: yitian > Cc: alsa-de...@alsa-project.org; w...@the-dreams.de; > linux-kernel@vger.kernel.org; andr

RE: [alsa-devel] [RESEND PATCH v2 1/1] ASoC: dwc: fix dma stop transferring issue

2015-10-02 Thread yitian
Hi Mark: > This doesn't apply because it's been corrupted by line wrapping - git am > can't understand it. Since it's just that one line I fixed it up by > hand but please look at your mail setup to make sure this works (this > might've been what happened with your other patch yesterday). After y

[RESEND PATCH 1/1] ASoC: dwc: correct irq clear method

2015-09-29 Thread yitian
from Designware I2S datasheet, irq is cleared by reading from TOR/ROR registers, rather than by writing into them. Signed-off-by: Yitian Bu --- sound/soc/dwc/designware_i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc

[RESEND PATCH v2 1/1] ASoC: dwc: fix dma stop transferring issue

2015-09-29 Thread yitian
which cause I2S stop sending DMA handshaking signal to DMA controller, and it finally causes music playing will be stopped once XRUN occurs for the first time. Signed-off-by: Yitian Bu --- changes in V2: - add definition for i and irq --- sound/soc/dwc/designware_i2s.c | 15 --- 1 file

RE: [RESEND PATCH v2 1/1] ASoC: dwc: fix dma stop transferring issue

2015-09-30 Thread yitian
> From: linux-arm-kernel > [mailto:linux-arm-kernel-boun...@lists.infradead.org] On Behalf Of Mark > Brown > Sent: Thursday, October 1, 2015 2:22 AM > To: yitian > Cc: alsa-de...@alsa-project.org; w...@the-dreams.de; > linux-kernel@vger.kernel.org; andrew.jack...@arm.com; ti.

RE: [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method

2015-09-30 Thread yitian
> From: linux-arm-kernel > [mailto:linux-arm-kernel-boun...@lists.infradead.org] On Behalf Of Mark > Brown > Sent: Thursday, October 1, 2015 2:18 AM > To: yitian > Cc: alsa-de...@alsa-project.org; w...@the-dreams.de; > linux-kernel@vger.kernel.org; andrew.jack...@arm.com; ti.

[PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-26 Thread yitian
is issue. Signed-off-by: Yitian Bu --- drivers/dma/dw/core.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c index cf1c87f..5341b44 100644 --- a/drivers/dma/dw/core.c +++ b/drivers/dma/dw/core.c @@ -1078,11 +1078,7 @@ dwc_t

[PATCH 1/1] dmaengine: dw: fix nollp issue

2015-09-27 Thread yitian
when channel number is less than maximum number, the register address of all channels is wrong, which causes the "nollp" flag is set for all channels even if HW supports llp. Signed-off-by: Yitian Bu --- drivers/dma/dw/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 1/1] ASoc: dwc: correct irq clear method

2015-09-27 Thread yitian
from Designware I2S datasheet, irq is cleared by reading from TOR/ROR registers, rather than by writing into them. Signed-off-by: Yitian Bu --- sound/soc/dwc/designware_i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc

[PATCH 1/1] ASoC: dwc: fix dma stop transferring issue

2015-09-27 Thread yitian
which cause I2S stop sending DMA handshaking signal to DMA controller, and it finally cause music playing will be stopped once XRUN occurs for the first time. Signed-off-by: Yitian Bu --- sound/soc/dwc/designware_i2s.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

RE: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-28 Thread yitian
> From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Monday, September 28, 2015 3:06 PM > To: Viresh Kumar > Cc: yitian ; Viresh Kumar > ; Andy Shevchenko > ; Vinod Koul ; > Dan Williams ; dmaengine > ; Linux Kernel Mailing List > > Subject: Re: [PAT

RE: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-28 Thread yitian
> From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Monday, September 28, 2015 4:46 PM > To: yitian ; 'Andy Shevchenko' > ; 'Viresh Kumar' > Cc: 'Viresh Kumar' ; 'Vinod Koul' > ; 'Dan Williams' ; >

[PATCH v2 1/1] ASoC: dwc: fix dma stop transferring issue

2015-09-28 Thread yitian
which cause I2S stop sending DMA handshaking signal to DMA controller, and it finally cause music playing will be stopped once XRUN occurs for the first time. Signed-off-by: Yitian Bu --- changes in V2: - add definition for i and irq --- sound/soc/dwc/designware_i2s.c | 15 --- 1 file

RE: [PATCH] Fix rq->lock vs logbuf_lock unlock race

2013-02-20 Thread Bu, Yitian
> -Original Message- > From: Peter Zijlstra [mailto:a.p.zijls...@chello.nl] > Sent: Wednesday, February 20, 2013 4:45 PM > To: Bu, Yitian > Cc: t...@linutronix.de; linux-kernel@vger.kernel.org; mi...@kernel.org > Subject: Re: [PATCH] Fix rq->lock vs logbuf_lock un

RE: [PATCH] Fix rq->lock vs logbuf_lock unlock race

2013-02-20 Thread Bu, Yitian
> Unfortunately that's not quite possible, rq->lock is really out of bounds. At > one point I tried 'fixing' this but there's a whole bunch of nasty that's not > going to go away. > > I've since forgotten most of the details, but aside from logbuf problems > there's a whole host of issues with the

[PATCH] Fix rq->lock vs logbuf_lock unlock race

2013-02-18 Thread Bu, Yitian
This patch is for kernel V3.7.9 >From 8796f4a2175a323aaa49ea8dd0fe68678dd5dccd Mon Sep 17 00:00:00 2001 From: ybu Date: Mon, 18 Feb 2013 19:52:01 +0800 Subject: [PATCH] Fix rq->lock vs logbuf_lock unlock race fix up the fallout from commit 07354eb1a74d1 ("locking printk: Annotate logbuf_lock as

[PATCH 1/1] ASoC: dwc: correct irq clear method

2015-10-02 Thread Yitian Bu
from Designware I2S datasheet, tx/rx XRUN irq is cleared by reading register TOR/ROR, rather than by writing into them. Signed-off-by: Yitian Bu --- sound/soc/dwc/designware_i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc

[tip:core/printk] printk: Fix rq-> lock vs logbuf_lock unlock lock inversion

2013-02-18 Thread tip-bot for Bu, Yitian
Commit-ID: dbda92d16f8655044e082930e4e9d244b87fde77 Gitweb: http://git.kernel.org/tip/dbda92d16f8655044e082930e4e9d244b87fde77 Author: Bu, Yitian AuthorDate: Mon, 18 Feb 2013 12:53:37 + Committer: Thomas Gleixner CommitDate: Mon, 18 Feb 2013 15:05:57 +0100 printk: Fix rq->lock