All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg
  2012-06-21 17:51 [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg Scott Jiang
@ 2012-06-21 10:08 ` Mark Brown
  2012-06-21 10:29   ` Scott Jiang
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2012-06-21 10:08 UTC (permalink / raw)
  To: Scott Jiang; +Cc: uclinux-dist-devel, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 229 bytes --]

On Thu, Jun 21, 2012 at 01:51:58PM -0400, Scott Jiang wrote:
> Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>

Applied, but as I said last time you should use subject lines that match
up with the rest of the subsystem.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg
  2012-06-21 10:08 ` Mark Brown
@ 2012-06-21 10:29   ` Scott Jiang
  2012-06-21 10:47     ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Scott Jiang @ 2012-06-21 10:29 UTC (permalink / raw)
  To: Mark Brown; +Cc: uclinux-dist-devel, alsa-devel

2012/6/21 Mark Brown <broonie@opensource.wolfsonmicro.com>:
> On Thu, Jun 21, 2012 at 01:51:58PM -0400, Scott Jiang wrote:
>> Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
>
> Applied, but as I said last time you should use subject lines that match
> up with the rest of the subsystem.

Sorry, I'm not sure what you mean. Do you mean 80 columns or style?
Could you please give me more details?

Thanks,
Scott

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg
  2012-06-21 10:29   ` Scott Jiang
@ 2012-06-21 10:47     ` Mark Brown
  2012-06-21 14:50       ` Patch subject line (was: Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg) David Henningsson
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2012-06-21 10:47 UTC (permalink / raw)
  To: Scott Jiang; +Cc: uclinux-dist-devel, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 528 bytes --]

On Thu, Jun 21, 2012 at 06:29:40PM +0800, Scott Jiang wrote:
> 2012/6/21 Mark Brown <broonie@opensource.wolfsonmicro.com>:
> > On Thu, Jun 21, 2012 at 01:51:58PM -0400, Scott Jiang wrote:
> >> Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>

> > Applied, but as I said last time you should use subject lines that match
> > up with the rest of the subsystem.

> Sorry, I'm not sure what you mean. Do you mean 80 columns or style?
> Could you please give me more details?

You're calling the subsystem "asoc" not "ASoC".

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Patch subject line (was: Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg)
  2012-06-21 10:47     ` Mark Brown
@ 2012-06-21 14:50       ` David Henningsson
  2012-06-21 15:22         ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: David Henningsson @ 2012-06-21 14:50 UTC (permalink / raw)
  To: Mark Brown; +Cc: Takashi Iwai, alsa-devel

On 06/21/2012 12:47 PM, Mark Brown wrote:
> On Thu, Jun 21, 2012 at 06:29:40PM +0800, Scott Jiang wrote:
>> 2012/6/21 Mark Brown<broonie@opensource.wolfsonmicro.com>:
>>> On Thu, Jun 21, 2012 at 01:51:58PM -0400, Scott Jiang wrote:
>>>> Signed-off-by: Scott Jiang<scott.jiang.linux@gmail.com>
>
>>> Applied, but as I said last time you should use subject lines that match
>>> up with the rest of the subsystem.
>
>> Sorry, I'm not sure what you mean. Do you mean 80 columns or style?
>> Could you please give me more details?
>
> You're calling the subsystem "asoc" not "ASoC".

While we're at it, how about switching to the a/b/c style used by 
several other subsystems?

I personally think "alsa/hda/realtek" looks much prettier than the 
shoutier "ALSA: HDA: Realtek:" thing we have today.

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Patch subject line (was: Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg)
  2012-06-21 14:50       ` Patch subject line (was: Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg) David Henningsson
@ 2012-06-21 15:22         ` Mark Brown
  2012-06-21 15:31           ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2012-06-21 15:22 UTC (permalink / raw)
  To: David Henningsson; +Cc: Takashi Iwai, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 482 bytes --]

On Thu, Jun 21, 2012 at 04:50:50PM +0200, David Henningsson wrote:

> While we're at it, how about switching to the a/b/c style used by
> several other subsystems?

Looking at the git logs that's *really* unusual.

> I personally think "alsa/hda/realtek" looks much prettier than the
> shoutier "ALSA: HDA: Realtek:" thing we have today.

I have to say I really don't like this, especially the lowercasing of
everything.  It doesn't read like normal text, it reads like a filename.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Patch subject line (was: Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg)
  2012-06-21 15:22         ` Mark Brown
@ 2012-06-21 15:31           ` Takashi Iwai
  2012-06-21 15:39             ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2012-06-21 15:31 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, David Henningsson

At Thu, 21 Jun 2012 16:22:44 +0100,
Mark Brown wrote:
> 
> On Thu, Jun 21, 2012 at 04:50:50PM +0200, David Henningsson wrote:
> 
> > While we're at it, how about switching to the a/b/c style used by
> > several other subsystems?
> 
> Looking at the git logs that's *really* unusual.

I'd say it's between usual and unusual :)
Driver-local commits tend to have a prefix with the path (or
omitting "drivers/").  So in our case it'd be "sound/soc/codec: xxx"
or "sound/pci/hda: xxx".

> > I personally think "alsa/hda/realtek" looks much prettier than the
> > shoutier "ALSA: HDA: Realtek:" thing we have today.
> 
> I have to say I really don't like this, especially the lowercasing of
> everything.  It doesn't read like normal text, it reads like a filename.

Yeah, I share the same feeling.  The words like ALSA or ASoC don't fit
with lower letters well.


Takashi

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Patch subject line (was: Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg)
  2012-06-21 15:31           ` Takashi Iwai
@ 2012-06-21 15:39             ` Mark Brown
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Brown @ 2012-06-21 15:39 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, David Henningsson


[-- Attachment #1.1: Type: text/plain, Size: 448 bytes --]

On Thu, Jun 21, 2012 at 05:31:51PM +0200, Takashi Iwai wrote:
> Mark Brown wrote:

> > Looking at the git logs that's *really* unusual.

> I'd say it's between usual and unusual :)
> Driver-local commits tend to have a prefix with the path (or
> omitting "drivers/").  So in our case it'd be "sound/soc/codec: xxx"
> or "sound/pci/hda: xxx".

Yeah, I was mainly thinking of the subsystem: bit which is pretty much
the norm (with a few exceptions).

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg
@ 2012-06-21 17:51 Scott Jiang
  2012-06-21 10:08 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Scott Jiang @ 2012-06-21 17:51 UTC (permalink / raw)
  To: Mark Brown, alsa-devel, uclinux-dist-devel; +Cc: Scott Jiang

Signed-off-by: Scott Jiang <scott.jiang.linux@gmail.com>
---
 sound/soc/blackfin/bf6xx-sport.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/blackfin/bf6xx-sport.c b/sound/soc/blackfin/bf6xx-sport.c
index f19a72b..318c5ba 100644
--- a/sound/soc/blackfin/bf6xx-sport.c
+++ b/sound/soc/blackfin/bf6xx-sport.c
@@ -256,9 +256,9 @@ static irqreturn_t sport_err_irq(int irq, void *dev_id)
 	struct device *dev = &sport->pdev->dev;
 
 	if (sport->tx_regs->spctl & SPORT_CTL_DERRPRI)
-		dev_dbg(dev, "sport error: TUVF\n");
+		dev_err(dev, "sport error: TUVF\n");
 	if (sport->rx_regs->spctl & SPORT_CTL_DERRPRI)
-		dev_dbg(dev, "sport error: ROVF\n");
+		dev_err(dev, "sport error: ROVF\n");
 
 	return IRQ_HANDLED;
 }
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-06-21 14:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-21 17:51 [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg Scott Jiang
2012-06-21 10:08 ` Mark Brown
2012-06-21 10:29   ` Scott Jiang
2012-06-21 10:47     ` Mark Brown
2012-06-21 14:50       ` Patch subject line (was: Re: [PATCH] asoc: bfin: use dev_err to print error log instead of dev_dbg) David Henningsson
2012-06-21 15:22         ` Mark Brown
2012-06-21 15:31           ` Takashi Iwai
2012-06-21 15:39             ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.