* [PATCH v2] ASoC: DAPM - Use dev_warn for debugfs warning message.
@ 2012-03-06 18:13 Liam Girdwood
2012-03-06 20:08 ` Mark Brown
0 siblings, 1 reply; 5+ messages in thread
From: Liam Girdwood @ 2012-03-06 18:13 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, Liam Girdwood
Remove printk(KERN_WARNING) and use dev_warn() instead.
Signed-off-by: Liam Girdwood <lrg@ti.com>
---
sound/soc/soc-dapm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index a4d4aa1..dcd1160 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -1667,7 +1667,7 @@ void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm,
dapm->debugfs_dapm = debugfs_create_dir("dapm", parent);
if (!dapm->debugfs_dapm) {
- printk(KERN_WARNING
+ dev_warn(dapm->dev,
"Failed to create DAPM debugfs directory\n");
return;
}
--
1.7.5.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH v2] ASoC: DAPM - Use dev_warn for debugfs warning message.
2012-03-06 18:13 [PATCH v2] ASoC: DAPM - Use dev_warn for debugfs warning message Liam Girdwood
@ 2012-03-06 20:08 ` Mark Brown
2012-03-07 9:48 ` Liam Girdwood
0 siblings, 1 reply; 5+ messages in thread
From: Mark Brown @ 2012-03-06 20:08 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 312 bytes --]
On Tue, Mar 06, 2012 at 06:13:25PM +0000, Liam Girdwood wrote:
> Remove printk(KERN_WARNING) and use dev_warn() instead.
Applied, thanks.
Everyone else seems to be doing ASoC: thing: rather than having a -. As
far as I remember it was Peter that started it, though other people
(including me) adopted it too.
[-- 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] 5+ messages in thread
* Re: [PATCH v2] ASoC: DAPM - Use dev_warn for debugfs warning message.
2012-03-06 20:08 ` Mark Brown
@ 2012-03-07 9:48 ` Liam Girdwood
2012-03-07 12:07 ` Mark Brown
2012-03-07 12:59 ` Takashi Iwai
0 siblings, 2 replies; 5+ messages in thread
From: Liam Girdwood @ 2012-03-07 9:48 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel
On Tue, 2012-03-06 at 20:08 +0000, Mark Brown wrote:
> On Tue, Mar 06, 2012 at 06:13:25PM +0000, Liam Girdwood wrote:
> > Remove printk(KERN_WARNING) and use dev_warn() instead.
>
> Applied, thanks.
>
> Everyone else seems to be doing ASoC: thing: rather than having a -. As
> far as I remember it was Peter that started it, though other people
> (including me) adopted it too.
Historically since 2005 the ASoC patch subject prefix has never been in
any fixed style. My personal preference is the same as Takashi's for
HDA, but I've no problems changing a - to a :. Lets make it more
official now and have :-
ASoC: thing: change
Regards
Liam
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] ASoC: DAPM - Use dev_warn for debugfs warning message.
2012-03-07 9:48 ` Liam Girdwood
@ 2012-03-07 12:07 ` Mark Brown
2012-03-07 12:59 ` Takashi Iwai
1 sibling, 0 replies; 5+ messages in thread
From: Mark Brown @ 2012-03-07 12:07 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 574 bytes --]
On Wed, Mar 07, 2012 at 09:48:50AM +0000, Liam Girdwood wrote:
> Historically since 2005 the ASoC patch subject prefix has never been in
> any fixed style. My personal preference is the same as Takashi's for
Yeah, it's mostly sprung up in the past year or so.
> HDA, but I've no problems changing a - to a :. Lets make it more
> official now and have :-
> ASoC: thing: change
OK. I've not been bothering for people who were only using plain ASoC:,
I mostly just mentioned it because you'd picked a different standard for
your commits to what everyone else had chosen.
[-- 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] 5+ messages in thread
* Re: [PATCH v2] ASoC: DAPM - Use dev_warn for debugfs warning message.
2012-03-07 9:48 ` Liam Girdwood
2012-03-07 12:07 ` Mark Brown
@ 2012-03-07 12:59 ` Takashi Iwai
1 sibling, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2012-03-07 12:59 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, Mark Brown
At Wed, 07 Mar 2012 09:48:50 +0000,
Liam Girdwood wrote:
>
> On Tue, 2012-03-06 at 20:08 +0000, Mark Brown wrote:
> > On Tue, Mar 06, 2012 at 06:13:25PM +0000, Liam Girdwood wrote:
> > > Remove printk(KERN_WARNING) and use dev_warn() instead.
> >
> > Applied, thanks.
> >
> > Everyone else seems to be doing ASoC: thing: rather than having a -. As
> > far as I remember it was Peter that started it, though other people
> > (including me) adopted it too.
>
> Historically since 2005 the ASoC patch subject prefix has never been in
> any fixed style. My personal preference is the same as Takashi's for
> HDA, but I've no problems changing a - to a :. Lets make it more
> official now and have :-
>
> ASoC: thing: change
It seems that "A: B: C" is more popular, indeed.
I've been using it since it looks more readable to me, but it's really
a matter of taste.
Takashi
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-07 13:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 18:13 [PATCH v2] ASoC: DAPM - Use dev_warn for debugfs warning message Liam Girdwood
2012-03-06 20:08 ` Mark Brown
2012-03-07 9:48 ` Liam Girdwood
2012-03-07 12:07 ` Mark Brown
2012-03-07 12:59 ` Takashi Iwai
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.