[PATCH] ASoC: fsl_ssi: Fix printing return code on clk error

2014-01-05 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- sound/soc/fsl/fsl_ssi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 2101fc5..3d74477a 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@

[PATCH v5 0/7] Getting rid of get_unused_fd() / enable close-on-exec

2014-01-05 Thread Yann Droneaud
Hi, Please find the fifth revision of my patchset to remove get_unused_fd() macro in order to help subsystems to use get_unused_fd_flags() (or anon_inode_getfd()) with flags either provided by the userspace or set to O_CLOEXEC by default where appropriate. Without get_unused_fd() macro, more

[PATCH v5 1/1] powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100

2014-01-05 Thread Stephen Chivers
Add support for the Motorola/Emerson MVME5100 Single Board Computer. The MVME5100 is a 6U form factor VME64 computer with: - A single MPC7410 or MPC750 CPU - A HAWK Processor Host Bridge (CPU to PCI) and MultiProcessor Interrupt Controller (MPIC) - Up to 500Mb

Re: [11/12,v3] pci: fsl: update PCI EDAC driver

2014-01-05 Thread Lian Minghuan-b31939
Hi Scott, I think we should reverse this commit 0f1741c74aa6794b1c7fbdd19f26a4f2377a11c6. PCI controller driver is a platform driver supports probe and remove, when removing the driver we should call mpc85xx_pci_err_remove() to free EDAC PCI resource. Thanks, Minghuan On 01/04/2014 06:16

[PATCH v2 2/2] powerpc/mpic_timer: fix convert ticks to time subtraction overflow

2014-01-05 Thread Dongsheng Wang
From: Wang Dongsheng dongsheng.w...@freescale.com In some cases tmp_sec may be greater than ticks, because in the process of calculation ticks and tmp_sec will be rounded. Signed-off-by: Wang Dongsheng dongsheng.w...@freescale.com --- v2: Add the new patch in v2. diff --git

Re: [03/12,v3] pci: fsl: add PCI indirect access support

2014-01-05 Thread Lian Minghuan-b31939
HI Scott, please see my comments inline. On 01/04/2014 06:33 AM, Scott Wood wrote: On Wed, Oct 23, 2013 at 06:41:25PM +0800, Minghuan Lian wrote: The patch adds PCI indirect read/write functions. The main code is ported from arch/powerpc/sysdev/indirect_pci.c. We use general IO API

RE: [PATCH] powerpc/fsl-booke: Use SPRN_SPRGn rather than mfsprg/mtsprg

2014-01-05 Thread dongsheng.w...@freescale.com
Reviewed-by: Wang Dongsheng dongsheng.w...@freescale.com Tested-by: Wang Dongsheng dongsheng.w...@freescale.com Works well. :) -Dongsheng -Original Message- From: Linuxppc-dev [mailto:linuxppc-dev- bounces+b40534=freescale@lists.ozlabs.org] On Behalf Of

Re: [02/12,v3] pci: fsl: add structure fsl_pci

2014-01-05 Thread Lian Minghuan-b31939
On 01/04/2014 06:19 AM, Scott Wood wrote: On Wed, Oct 23, 2013 at 06:41:24PM +0800, Minghuan Lian wrote: PowerPC uses structure pci_controller to describe PCI controller, but ARM uses structure pci_sys_data. In order to support PowerPC and ARM simultaneously, the patch adds a structure fsl_pci

Re: [question] Can the execution of the atomtic operation instruction pair lwarx/stwcx be interrrupted by local HW interruptions?

2014-01-05 Thread Gavin Hu
Thanks your response. :) But that means that these optimitive operations like atomic_add() aren't optimitive actully in PPC architecture, right? Becuase they can be interrupted by loacl HW interrupts. Theoretically, the ISR also can access the atomic gloable variable. The following codes are

Re: [question] Can the execution of the atomtic operation instruction pair lwarx/stwcx be interrrupted by local HW interruptions?

2014-01-05 Thread Gavin Hu
Get it. Thanks! :) BR Gavin. Hu On Mon, Jan 6, 2014 at 1:27 PM, wyang w90p...@gmail.com wrote: On 01/06/2014 11:41 AM, Gavin Hu wrote: Thanks your response. :) But that means that these optimitive operations like atomic_add() aren't optimitive actully in PPC architecture, right?

Re: [question] Can the execution of the atomtic operation instruction pair lwarx/stwcx be interrrupted by local HW interruptions?

2014-01-05 Thread Gavin Hu
So, these primitive funcitons like atomic_add() and so on also can't prevent processes schedule switch on local CPU core? right? Thanks! BR Gvain. Hu On Mon, Jan 6, 2014 at 1:27 PM, wyang w90p...@gmail.com wrote: On 01/06/2014 11:41 AM, Gavin Hu wrote: Thanks your response. :) But

Re: [question] Can the execution of the atomtic operation instruction pair lwarx/stwcx be interrrupted by local HW interruptions?

2014-01-05 Thread wyang
On 01/06/2014 02:24 PM, Gavin Hu wrote: So, these primitive funcitons like atomic_add() and so on also can't prevent processes schedule switch on local CPU core? right? You are right! BR Wei Thanks! BR Gvain. Hu On Mon, Jan 6, 2014 at 1:27 PM, wyang w90p...@gmail.com

RE: [PATCH] mtd: m25p80: Add Power Management support

2014-01-05 Thread b48...@freescale.com
On Wed, Dec 11, 2013 at 04:19:30PM +0800, Hou Zhiqiang wrote: Add PM support using callback function suspend and resume in .driver of spi_driver. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- drivers/mtd/devices/m25p80.c | 37 + 1 file