public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-omap@vger.kernel.org, Steve Sakoman <steve@sakoman.com>
Subject: Re: [patch 2.6.27-rc6-omap] ASOC: quieter boot for non-Overo boards
Date: Thu, 25 Sep 2008 15:49:36 +0300	[thread overview]
Message-ID: <20080925124934.GR5222@atomide.com> (raw)
In-Reply-To: <200809211414.42194.david-b@pacbell.net>

* David Brownell <david-b@pacbell.net> [080922 00:50]:
> Get rid of bogus ASOC boot messages on non-Overo boards.

I'm not touching this without an ack from alsa list :)

Tony

> 
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> ---
>  sound/soc/omap/overo.c |    7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> --- a/sound/soc/omap/overo.c
> +++ b/sound/soc/omap/overo.c
> @@ -107,11 +107,11 @@ static int __init overo_soc_init(void)
>  {
>  	int ret;
>  
> -	printk(KERN_INFO "overo SoC init\n");
>  	if (!machine_is_overo()) {
> -		printk(KERN_ERR "Not Overo!\n");
> +		pr_debug("Not Overo!\n");
>  		return -ENODEV;
>  	}
> +	printk(KERN_INFO "overo SoC init\n");
>  
>  	overo_snd_device = platform_device_alloc("soc-audio", -1);
>  	if (!overo_snd_device) {
> @@ -135,13 +135,12 @@ err1:
>  
>  	return ret;
>  }
> +module_init(overo_soc_init);
>  
>  static void __exit overo_soc_exit(void)
>  {
>  	platform_device_unregister(overo_snd_device);
>  }
> -
> -module_init(overo_soc_init);
>  module_exit(overo_soc_exit);
>  
>  MODULE_AUTHOR("Steve Sakoman <steve@sakoman.com>");
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-09-25 12:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-21 21:14 [patch 2.6.27-rc6-omap] ASOC: quieter boot for non-Overo boards David Brownell
2008-09-25 12:49 ` Tony Lindgren [this message]
2008-09-25 16:50   ` David Brownell
2008-09-25 17:07     ` Steve Sakoman
2008-09-25 17:41       ` David Brownell
2008-09-26  7:37         ` Jarkko Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080925124934.GR5222@atomide.com \
    --to=tony@atomide.com \
    --cc=david-b@pacbell.net \
    --cc=linux-omap@vger.kernel.org \
    --cc=steve@sakoman.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox