[PATCH] tick/broadcast: set next event of bc to KTIME_MAX

2018-02-01 Thread Qiao Zhou
So when there is no broadcast next event to set on hardware, we need to set software next_event to KTIME_MAX. Signed-off-by: Qiao Zhou <qiaoz...@asrmicro.com> --- kernel/time/tick-broadcast.c | 8 1 file changed, 8 insertions(+) diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tic

[PATCH] tick/broadcast: set next event of bc to KTIME_MAX

2018-02-01 Thread Qiao Zhou
So when there is no broadcast next event to set on hardware, we need to set software next_event to KTIME_MAX. Signed-off-by: Qiao Zhou --- kernel/time/tick-broadcast.c | 8 1 file changed, 8 insertions(+) diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index b398c2e..

[PATCH V2] arm64: traps: disable irq in die()

2017-07-07 Thread Qiao Zhou
later also needs it, then it would deadlock. The first panic will not be executed. So here disable irq for the whole flow of die(). Signed-off-by: Qiao Zhou <qiaoz...@asrmicro.com> --- arch/arm64/kernel/traps.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH V2] arm64: traps: disable irq in die()

2017-07-07 Thread Qiao Zhou
later also needs it, then it would deadlock. The first panic will not be executed. So here disable irq for the whole flow of die(). Signed-off-by: Qiao Zhou --- arch/arm64/kernel/traps.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/traps.c b/arch

[PATCH] *** arm64: traps: disable irq in die() ***

2017-06-28 Thread Qiao Zhou
irq, and let the panic flow execute correctly. Not sure this patch is suitable or there is better way to solve it. Please help to give some comments. Thanks in advance. Qiao Zhou (1): arm64: traps: disable irq in die() arch/arm64/kernel/traps.c | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH] arm64: traps: disable irq in die()

2017-06-28 Thread Qiao Zhou
later also needs it, then it would deadlock. The first panic will not be executed. So here disable irq for the whole flow of die(). Signed-off-by: Qiao Zhou <qiaoz...@asrmicro.com> --- arch/arm64/kernel/traps.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[PATCH] *** arm64: traps: disable irq in die() ***

2017-06-28 Thread Qiao Zhou
irq, and let the panic flow execute correctly. Not sure this patch is suitable or there is better way to solve it. Please help to give some comments. Thanks in advance. Qiao Zhou (1): arm64: traps: disable irq in die() arch/arm64/kernel/traps.c | 8 ++-- 1 file changed, 6 insertions(+), 2

[PATCH] arm64: traps: disable irq in die()

2017-06-28 Thread Qiao Zhou
later also needs it, then it would deadlock. The first panic will not be executed. So here disable irq for the whole flow of die(). Signed-off-by: Qiao Zhou --- arch/arm64/kernel/traps.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/traps.c b

Re: [PATCH] dma: mmp-tdma: refine dma disable and dma-pos update

2015-03-02 Thread Qiao Zhou
On 03/03/2015 12:56 AM, Vinod Koul wrote: And that is why people use git-send email and don't copy patches. Pls resend again, as your MUA has wrapped this so cant apply Thanks for correcting and I'll pay attention to it in future. The patch is re-sent via git-send email. -- Best Regards Qiao

[PATCH v2] dma: mmp-tdma: refine dma disable and dma-pos update

2015-03-02 Thread Qiao Zhou
. This is inaccurate/insufficient for some high-quality audio APP. Since interrupt bottom half handler has variable schedule delay, it causes big error when calculating sample delay. Read the actual HW pointer and feedback can improve the accuracy. 3. Do some minor code clean. Signed-off-by: Qiao Zhou --- drivers

[PATCH v2] dma: mmp-tdma: refine dma disable and dma-pos update

2015-03-02 Thread Qiao Zhou
. This is inaccurate/insufficient for some high-quality audio APP. Since interrupt bottom half handler has variable schedule delay, it causes big error when calculating sample delay. Read the actual HW pointer and feedback can improve the accuracy. 3. Do some minor code clean. Signed-off-by: Qiao Zhou zhouq

Re: [PATCH] dma: mmp-tdma: refine dma disable and dma-pos update

2015-03-02 Thread Qiao Zhou
On 03/03/2015 12:56 AM, Vinod Koul wrote: And that is why people use git-send email and don't copy patches. Pls resend again, as your MUA has wrapped this so cant apply Thanks for correcting and I'll pay attention to it in future. The patch is re-sent via git-send email. -- Best Regards Qiao

Re: [PATCH] dma: mmp-tdma: refine dma disable and dma-pos update

2015-02-28 Thread Qiao Zhou
On 02/23/2015 07:23 PM, Vinod Koul wrote: On Thu, Feb 05, 2015 at 08:54:19PM +0800, Qiao Zhou wrote: Below are the refinements. 1. Set DMA abort bit when disabling dma channel. This will clear the remaining data in dma FIFO, to fix channel-swap issue. 2. Read DMA HW pointer when updating DMA

Re: [PATCH] dma: mmp-tdma: refine dma disable and dma-pos update

2015-02-28 Thread Qiao Zhou
On 02/23/2015 07:23 PM, Vinod Koul wrote: On Thu, Feb 05, 2015 at 08:54:19PM +0800, Qiao Zhou wrote: Below are the refinements. 1. Set DMA abort bit when disabling dma channel. This will clear the remaining data in dma FIFO, to fix channel-swap issue. 2. Read DMA HW pointer when updating DMA

[PATCH] dma: mmp-tdma: refine dma disable and dma-pos update

2015-02-05 Thread Qiao Zhou
. This is inaccurate/insufficient for some high-quality audio APP. Since interrupt bottom half handler has variable schedule delay, it causes big error when calculating sample delay. Read the actual HW pointer and feedback can improve the accuracy. 3. Do some minor code clean. Signed-off-by: Qiao Zhou --- drivers

[PATCH] dma: mmp-tdma: refine dma disable and dma-pos update

2015-02-05 Thread Qiao Zhou
. This is inaccurate/insufficient for some high-quality audio APP. Since interrupt bottom half handler has variable schedule delay, it causes big error when calculating sample delay. Read the actual HW pointer and feedback can improve the accuracy. 3. Do some minor code clean. Signed-off-by: Qiao Zhou zhouq

[PATCH] dma: mmp-pdma: fix irq handler overwrite physical chan issue

2015-02-03 Thread Qiao Zhou
ignore it. Signed-off-by: Qiao Zhou --- drivers/dma/mmp_pdma.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 8b8952f..68ab55f 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -219,6 +219,9 @@ static irqreturn_t

[PATCH] dma: mmp-pdma: fix irq handler overwrite physical chan issue

2015-02-03 Thread Qiao Zhou
ignore it. Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/mmp_pdma.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index 8b8952f..68ab55f 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -219,6 +219,9

[PATCH] ssp/pxa2xx: add ssp support for mach-mmp

2013-12-17 Thread Qiao Zhou
mach-mmp also uses ssp request/free APIs. Add mach-mmp support. Otherwise there will be redefinition error. Signed-off-by: Qiao Zhou --- include/linux/pxa2xx_ssp.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h

[PATCH] ssp/pxa2xx: add ssp support for mach-mmp

2013-12-17 Thread Qiao Zhou
mach-mmp also uses ssp request/free APIs. Add mach-mmp support. Otherwise there will be redefinition error. Signed-off-by: Qiao Zhou zhouq...@marvell.com --- include/linux/pxa2xx_ssp.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/pxa2xx_ssp.h b/include

Re: [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
On 12/05/2013 03:17 AM, Dan Williams wrote: On Wed, Dec 4, 2013 at 3:24 AM, Qiao Zhou wrote: On 12/04/2013 07:17 PM, Haojian Zhuang wrote: Dan indicated that you could pack these two patches into one. Whatever it's also OK to use two patches. Misunderstood it... Thanks for correcting

[PATCH V2] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
ave a changelog and is the only user of the >enabling in patch1 V1 -> V0: No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA text in Kconfig. Qiao Zhou (1): arm: mmp: build sram driver alone arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++-

[PATCH V2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Also need to select MMP_SRAM for MMP_TDMA driver. Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- drivers/dma/Kconfig

Re: [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
On 12/04/2013 07:17 PM, Haojian Zhuang wrote: Dan indicated that you could pack these two patches into one. Whatever it's also OK to use two patches. Misunderstood it... Thanks for correcting. -- Best Regards Qiao -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH 2/2] dma: mmp-tdma: select sram driver

2013-12-04 Thread Qiao Zhou
Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- drivers/dma/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index dd2874e..599f0ae 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -288,9 +288,11

[PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mmp

[PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
V1 -> V0: No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA text in Kconfig. Qiao Zhou (2): arm: mmp: build sram driver alone dma: mmp-tdma: select sram driver arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- drivers/dma/Kcon

Re: [PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
On 12/04/2013 03:56 PM, Dan Williams wrote: On Tue, Dec 3, 2013 at 11:05 PM, Qiao Zhou wrote: sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- arch/arm/mach-mmp/Kconfig |5 + arch/arm/mach-mmp

Re: [PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
On 12/04/2013 03:56 PM, Dan Williams wrote: On Tue, Dec 3, 2013 at 11:05 PM, Qiao Zhou zhouq...@marvell.com wrote: sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com

[PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
V1 - V0: No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA text in Kconfig. Qiao Zhou (2): arm: mmp: build sram driver alone dma: mmp-tdma: select sram driver arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- drivers/dma/Kconfig

[PATCH 1/2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com --- arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- 2 files changed, 5 insertions(+), 1

[PATCH 2/2] dma: mmp-tdma: select sram driver

2013-12-04 Thread Qiao Zhou
Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index dd2874e..599f0ae 100644 --- a/drivers/dma/Kconfig

Re: [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
On 12/04/2013 07:17 PM, Haojian Zhuang wrote: Dan indicated that you could pack these two patches into one. Whatever it's also OK to use two patches. Misunderstood it... Thanks for correcting. -- Best Regards Qiao -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH V2] arm: mmp: build sram driver alone

2013-12-04 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Also need to select MMP_SRAM for MMP_TDMA driver. Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com --- arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile

[PATCH V2] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
user of the enabling in patch1 V1 - V0: No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA text in Kconfig. Qiao Zhou (1): arm: mmp: build sram driver alone arch/arm/mach-mmp/Kconfig |3 +++ arch/arm/mach-mmp/Makefile |3 ++- drivers/dma/Kconfig|2 ++ 3

Re: [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Qiao Zhou
On 12/05/2013 03:17 AM, Dan Williams wrote: On Wed, Dec 4, 2013 at 3:24 AM, Qiao Zhou zhouq...@marvell.com wrote: On 12/04/2013 07:17 PM, Haojian Zhuang wrote: Dan indicated that you could pack these two patches into one. Whatever it's also OK to use two patches. Misunderstood it... Thanks

[PATCH 1/2] arm: mmp: build sram driver alone

2013-12-03 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- arch/arm/mach-mmp/Kconfig |5 + arch/arm/mach-mmp/Makefile |3 ++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-mmp

[PATCH 2/2] dma: mmp-tdma: select sram driver

2013-12-03 Thread Qiao Zhou
Reported-by: Dan Williams Signed-off-by: Qiao Zhou --- drivers/dma/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index dd2874e..4e41b69 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -288,6 +288,7

[PATCH 1/2] arm: mmp: build sram driver alone

2013-12-03 Thread Qiao Zhou
sram driver can be used by many chips besides CPU_MMP2, and so build it alone. Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com --- arch/arm/mach-mmp/Kconfig |5 + arch/arm/mach-mmp/Makefile |3 ++- 2 files changed, 7 insertions(+), 1

[PATCH 2/2] dma: mmp-tdma: select sram driver

2013-12-03 Thread Qiao Zhou
Reported-by: Dan Williams dan.j.willi...@intel.com Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index dd2874e..4e41b69 100644 --- a/drivers/dma/Kconfig +++ b

Re: [PATCH] dma: mmp_tdma: add multiple burst size support for 910-squ

2013-10-10 Thread Qiao Zhou
On 10/10/2013 09:54 PM, zhangfei gao wrote: On Wed, Oct 9, 2013 at 1:40 PM, Qiao Zhou wrote: add multiple burst size support for 910-squ. Signed-off-by: Qiao Zhou --- drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git

[PATCH v2] dma: mmp_tdma: add multiple burst size support for 910-squ

2013-10-10 Thread Qiao Zhou
add multiple burst size support for 910-squ. Signed-off-by: Qiao Zhou --- drivers/dma/mmp_tdma.c | 30 +- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index 38cb517..f6b9ec7 100644 --- a/drivers/dma

[PATCH v2] dma: mmp-tdma: add multiple burst size support for 910-squ

2013-10-10 Thread Qiao Zhou
v1: add multiple burst size support. remove previous fixed 32-byte setting. v2: correct some missing definition. Qiao Zhou (1): dma: mmp_tdma: add multiple burst size support for 910-squ drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24 insertions(+), 1 deletions

[PATCH v2] dma: mmp_tdma: add multiple burst size support for 910-squ

2013-10-10 Thread Qiao Zhou
add multiple burst size support for 910-squ. Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/mmp_tdma.c | 30 +- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index 38cb517..f6b9ec7

[PATCH v2] dma: mmp-tdma: add multiple burst size support for 910-squ

2013-10-10 Thread Qiao Zhou
v1: add multiple burst size support. remove previous fixed 32-byte setting. v2: correct some missing definition. Qiao Zhou (1): dma: mmp_tdma: add multiple burst size support for 910-squ drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24 insertions(+), 1 deletions

Re: [PATCH] dma: mmp_tdma: add multiple burst size support for 910-squ

2013-10-10 Thread Qiao Zhou
On 10/10/2013 09:54 PM, zhangfei gao wrote: On Wed, Oct 9, 2013 at 1:40 PM, Qiao Zhou zhouq...@marvell.com wrote: add multiple burst size support for 910-squ. Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24

[PATCH] dma: mmp_tdma: add multiple burst size support for 910-squ

2013-10-08 Thread Qiao Zhou
add multiple burst size support for 910-squ. Signed-off-by: Qiao Zhou --- drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index 38cb517..d84354b 100644 --- a/drivers/dma

[PATCH v1] dma: mmp-tdma: add multiple burst size support for 910-squ

2013-10-08 Thread Qiao Zhou
v1: add multiple burst size support. remove previous fixed 32-byte setting. Qiao Zhou (1): dma: mmp_tdma: add multiple burst size support for 910-squ drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) -- To unsubscribe from this list

[PATCH v1] dma: mmp-tdma: add multiple burst size support for 910-squ

2013-10-08 Thread Qiao Zhou
v1: add multiple burst size support. remove previous fixed 32-byte setting. Qiao Zhou (1): dma: mmp_tdma: add multiple burst size support for 910-squ drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) -- To unsubscribe from this list

[PATCH] dma: mmp_tdma: add multiple burst size support for 910-squ

2013-10-08 Thread Qiao Zhou
add multiple burst size support for 910-squ. Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/mmp_tdma.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index 38cb517..d84354b 100644

[PATCH V2] dma: mmp_tdma: disable irq when disabling dma channel

2013-06-14 Thread Qiao Zhou
mask dma irq when disabling dma channel, so that interrupt status will not be set and interrupt won't come again. Signed-off-by: Qiao Zhou --- drivers/dma/mmp_tdma.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index

[PATCH V2] dma: mmp_tdma: disable irq when disabling dma channel

2013-06-14 Thread Qiao Zhou
ask the interrupt when dma channel is disabled. Qiao Zhou (1): dma: mmp_tdma: disable irq when disabling dma channel drivers/dma/mmp_tdma.c |4 1 files changed, 4 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH V2] dma: mmp_tdma: disable irq when disabling dma channel

2013-06-14 Thread Qiao Zhou
the interrupt when dma channel is disabled. Qiao Zhou (1): dma: mmp_tdma: disable irq when disabling dma channel drivers/dma/mmp_tdma.c |4 1 files changed, 4 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH V2] dma: mmp_tdma: disable irq when disabling dma channel

2013-06-14 Thread Qiao Zhou
mask dma irq when disabling dma channel, so that interrupt status will not be set and interrupt won't come again. Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/mmp_tdma.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers

[PATCH] dma: mmp_tdma: kill tasklet when free dma channel

2013-06-07 Thread Qiao Zhou
kill tasklet task when free dam channel, otherwise the task may run after related resource is released, then unknown things may happen. Signed-off-by: Qiao Zhou --- drivers/dma/mmp_tdma.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers

[PATCH] dma: mmp_tdma: kill tasklet when free dma channel

2013-06-07 Thread Qiao Zhou
kill tasklet task when free dam channel, otherwise the task may run after related resource is released, then unknown things may happen. Signed-off-by: Qiao Zhou zhouq...@marvell.com --- drivers/dma/mmp_tdma.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/dma

Re: [PATCH] mfd: Remove __devexit annotation for pm80x_deinit

2012-07-10 Thread Qiao Zhou
On 07/11/2012 09:48 AM, Axel Lin wrote: This fixes below section mismatch warning: LD drivers/mfd/built-in.o WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in reference from the function pm800_probe() to the function .devexit.text:pm80x_deinit() The function

Re: [PATCH] mfd: Fix checking return value of regmap_read()

2012-07-10 Thread Qiao Zhou
On 07/11/2012 09:27 AM, Axel Lin wrote: Check the return value of regmap_read() rather than the read value. Signed-off-by: Axel Lin --- drivers/mfd/88pm800.c | 16 +--- drivers/mfd/88pm805.c |5 +++-- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git

Re: [PATCH] mfd: Fix checking return value of regmap_read()

2012-07-10 Thread Qiao Zhou
On 07/11/2012 09:27 AM, Axel Lin wrote: Check the return value of regmap_read() rather than the read value. Signed-off-by: Axel Lin axel@gmail.com --- drivers/mfd/88pm800.c | 16 +--- drivers/mfd/88pm805.c |5 +++-- 2 files changed, 12 insertions(+), 9 deletions(-)

Re: [PATCH] mfd: Remove __devexit annotation for pm80x_deinit

2012-07-10 Thread Qiao Zhou
On 07/11/2012 09:48 AM, Axel Lin wrote: This fixes below section mismatch warning: LD drivers/mfd/built-in.o WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in reference from the function pm800_probe() to the function .devexit.text:pm80x_deinit() The function