RE: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-21 Thread Xiubo Li-B47053
+static int fsl_sai_hw_params(struct snd_pcm_substream *substream, + struct snd_pcm_hw_params *params, + struct snd_soc_dai *cpu_dai) +{ + int ret; + + ret = fsl_sai_hw_params_tr(substream, params, cpu_dai, + FSL_FMT_TRANSMITTER);

RE: [PATCHv1 8/8] Documentation: Add device tree bindings for Freescale VF610 sound.

2013-10-21 Thread Xiubo Li-B47053
+ -- Power supplies: + * Mic Bias + + -- SGTL5000 pins: + * MIC_IN + * LINE_IN + * HP_OUT + * LINE_OUT Things that are part of the CODEC should be part of the CODEC binding and this binding should reference that - this way the information doesn't have to

RE: [PATCHv1 6/8] ASoC: fsl: add SGT15000 based audio machine driver.

2013-10-21 Thread Xiubo Li-B47053
+ ret = snd_soc_register_card(fsl_sgt1500_card); + if (ret) { + dev_err(pdev-dev, register soc sound card failed :%d\n, + ret); + return ret; + } Use the newly added devm_snd_soc_register_card() (in -next). Okey, Please see the

Re: [PATCHv1 5/8] ASoC: sgtl5000: Revise the bugs about the sgt15000 codec.

2013-10-21 Thread Lothar Waßmann
Hi, diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 1f4093f..4e2e4c9 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -883,14 +883,19 @@ static int ldo_regulator_register(struct snd_soc_codec *codec,

Re: [PATCH v5] powerpc/mpc85xx: Update the clock nodes in device tree

2013-10-21 Thread Mark Rutland
On Sat, Oct 12, 2013 at 04:40:06AM +0100, Tang Yuantian-B29983 wrote: Thanks for your review. +- reg: Offset and length of the clock register set +- clock-frequency: Indicates input clock frequency of clock block. + Will be set by u-boot Why does the fact this

Re: [PATCHv1 5/8] ASoC: sgtl5000: Revise the bugs about the sgt15000 codec.

2013-10-21 Thread Timur Tabi
Xiubo Li-B47053 wrote: The CONFIG_SND_SOC_FSL_SGTL5000 micro will be renamed to CONFIG_SND_SOC_FSL_SGTL5000_VF610. In VF610, there has not Power Manager Module, so whether the CONFIG_REGULATOR is enable or Disabled, there will always some errors booting... That's just not acceptable. You

[PATCH 0/3] sched: Fixes for task placement in SMT threads

2013-10-21 Thread Vaidyanathan Srinivasan
Hi, The following series fixes scheduler loadbalancing issues where we are missing opportunity to place tasks in SMT threads optimally especially on a POWER7 system. PATCH 1/3, Fixes the scenario where load balancing fails to move tasks away from the cpus in a domain which has

[PATCH 1/3] sched: Fix nohz_kick_needed to consider the nr_busy of the parent domain's group

2013-10-21 Thread Vaidyanathan Srinivasan
From: Preeti U Murthy pre...@linux.vnet.ibm.com In nohz_kick_needed() there are checks around the flags SD_SHARE_PKG_RESOURCES which decide to initiate nohz_balance if the domains with this flag set have more than one cpu busy. Therefore at every domain, a check has to be made on nr_busy of that

[PATCH 2/3] sched: Fix asymmetric scheduling for POWER7

2013-10-21 Thread Vaidyanathan Srinivasan
Asymmetric scheduling within a core is a scheduler loadbalancing feature that is triggered when SD_ASYM_PACKING flag is set. The goal for the load balancer is to move tasks to lower order idle SMT threads within a core on a POWER7 system. In nohz_kick_needed(), we intend to check if our sched

[PATCH 3/3] sched: Aggressive balance in domains whose groups share package resources

2013-10-21 Thread Vaidyanathan Srinivasan
From: Preeti U Murthy pre...@linux.vnet.ibm.com The current logic in load balance is such that after picking the busiest group, the load is attempted to be moved from the busiest cpu in that group to the dst_cpu. If the load cannot be moved from the busiest cpu to dst_cpu due to either

Re: [PATCH 2/3] sched: Fix asymmetric scheduling for POWER7

2013-10-21 Thread Michael Neuling
Vaidyanathan Srinivasan sva...@linux.vnet.ibm.com wrote: Asymmetric scheduling within a core is a scheduler loadbalancing feature that is triggered when SD_ASYM_PACKING flag is set. The goal for the load balancer is to move tasks to lower order idle SMT threads within a core on a POWER7

[PATCH] powerpc: Use -mcpu=power7 on ppc64 little endian builds

2013-10-21 Thread Anton Blanchard
Using -mcpu=power7 allows gcc to use a number of new instructions including 64 bit byte reversed loads. Signed-off-by: Anton Blanchard an...@samba.org --- diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 6704e2e..c2a566f 100644 ---

[PATCH 1/3] powerpc: sync ppc64, ppc64e and pseries configs

2013-10-21 Thread Anton Blanchard
Run savedefconfig over the ppc64, ppc64e and pseries config Signed-off-by: Anton Blanchard an...@samba.org --- Index: b/arch/powerpc/configs/ppc64_defconfig === --- a/arch/powerpc/configs/ppc64_defconfig +++

[PATCH 2/3] powerpc: Enable multipath modules on ppc64 and pseries

2013-10-21 Thread Anton Blanchard
Enable a few modules required to boot on a POWER multipath box. Signed-off-by: Anton Blanchard an...@samba.org --- Index: b/arch/powerpc/configs/pseries_defconfig === --- a/arch/powerpc/configs/pseries_defconfig +++

[PATCH 3/3] powerpc: Enable virtio on ppc64 and pseries configs

2013-10-21 Thread Anton Blanchard
Signed-off-by: Anton Blanchard an...@samba.org --- Index: b/arch/powerpc/configs/pseries_defconfig === --- a/arch/powerpc/configs/pseries_defconfig +++ b/arch/powerpc/configs/pseries_defconfig @@ -127,6 +127,7 @@

RE: [alsa-devel] [PATCHv1 1/8] ALSA: Add SAI SoC Digital Audio Interface driver.

2013-10-21 Thread Xiubo Li-B47053
+static int fsl_sai_probe(struct platform_device *pdev) { [...] + + sai-dma_params_rx.addr = res-start + SAI_RDR; + sai-dma_params_rx.maxburst = 6; + index = of_property_match_string(np, dma-names, rx); + ret = of_parse_phandle_with_args(np, dmas, #dma-cells, index, +

RE: [PATCH v5] powerpc/mpc85xx: Update the clock nodes in device tree

2013-10-21 Thread Tang Yuantian-B29983
Thanks for your review. -Original Message- From: Mark Rutland [mailto:mark.rutl...@arm.com] Sent: 2013年10月21日 星期一 17:15 To: Tang Yuantian-B29983 Cc: ga...@kernel.crashing.org; linuxppc-dev@lists.ozlabs.org; devicet...@vger.kernel.org; Li Yang-Leo-R58472 Subject: Re: [PATCH v5]