* [PATCH] ASoC: kirkwood: Add a blank line after declarations
@ 2017-02-25 10:56 Anda-Alexandra Dorneanu
2017-02-25 13:20 ` Julia Lawall
0 siblings, 1 reply; 2+ messages in thread
From: Anda-Alexandra Dorneanu @ 2017-02-25 10:56 UTC (permalink / raw)
To: perex, tiwai
Cc: lgirdwood, broonie, Julia.Lawall, alsa-devel, linux-kernel, andadrn
From: andadrn <andadrn@gmail.com>
This was reported by checkpatch.pl
Signed-off-by: Anda-Alexandra Dorneanu <andadrn@gmail.com>
---
sound/soc/kirkwood/kirkwood-dma.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c
index dafd22e..0af5d46 100644
--- a/sound/soc/kirkwood/kirkwood-dma.c
+++ b/sound/soc/kirkwood/kirkwood-dma.c
@@ -24,6 +24,7 @@
static struct kirkwood_dma_data *kirkwood_priv(struct snd_pcm_substream *subs)
{
struct snd_soc_pcm_runtime *soc_runtime = subs->private_data;
+
return snd_soc_dai_get_drvdata(soc_runtime->cpu_dai);
}
@@ -91,6 +92,7 @@ static irqreturn_t kirkwood_dma_irq(int irq, void *dev_id)
/* try to find matching cs for current dma address */
for (i = 0; i < dram->num_cs; i++) {
const struct mbus_dram_window *cs = dram->cs + i;
+
if ((cs->base & 0xffff0000) < (dma & 0xffff0000)) {
writel(cs->base & 0xffff0000,
base + KIRKWOOD_AUDIO_WIN_BASE_REG(win));
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ASoC: kirkwood: Add a blank line after declarations
2017-02-25 10:56 [PATCH] ASoC: kirkwood: Add a blank line after declarations Anda-Alexandra Dorneanu
@ 2017-02-25 13:20 ` Julia Lawall
0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2017-02-25 13:20 UTC (permalink / raw)
To: Anda-Alexandra Dorneanu
Cc: perex, tiwai, lgirdwood, broonie, Julia.Lawall, alsa-devel, linux-kernel
On Sat, 25 Feb 2017, Anda-Alexandra Dorneanu wrote:
> From: andadrn <andadrn@gmail.com>
Drop the From line. The From line needs to match up with your Signed off
by line. But the one generated by your mailer already does that, while
the one you added does not.
julia
>
> This was reported by checkpatch.pl
>
> Signed-off-by: Anda-Alexandra Dorneanu <andadrn@gmail.com>
> ---
> sound/soc/kirkwood/kirkwood-dma.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c
> index dafd22e..0af5d46 100644
> --- a/sound/soc/kirkwood/kirkwood-dma.c
> +++ b/sound/soc/kirkwood/kirkwood-dma.c
> @@ -24,6 +24,7 @@
> static struct kirkwood_dma_data *kirkwood_priv(struct snd_pcm_substream *subs)
> {
> struct snd_soc_pcm_runtime *soc_runtime = subs->private_data;
> +
> return snd_soc_dai_get_drvdata(soc_runtime->cpu_dai);
> }
>
> @@ -91,6 +92,7 @@ static irqreturn_t kirkwood_dma_irq(int irq, void *dev_id)
> /* try to find matching cs for current dma address */
> for (i = 0; i < dram->num_cs; i++) {
> const struct mbus_dram_window *cs = dram->cs + i;
> +
> if ((cs->base & 0xffff0000) < (dma & 0xffff0000)) {
> writel(cs->base & 0xffff0000,
> base + KIRKWOOD_AUDIO_WIN_BASE_REG(win));
> --
> 1.9.1
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-25 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 10:56 [PATCH] ASoC: kirkwood: Add a blank line after declarations Anda-Alexandra Dorneanu
2017-02-25 13:20 ` Julia Lawall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®