| Submitter | Peter Ujfalusi |
|---|---|
| Date | 2009-11-02 12:34:54 |
| Message ID | <1257165295-9352-5-git-send-email-peter.ujfalusi@nokia.com> |
| Download | mbox | patch |
| Permalink | /patch/57011/ |
| State | Awaiting Upstream, archived |
| Headers | show |
Comments
On Mon, Nov 02, 2009 at 02:34:54PM +0200, Peter Ujfalusi wrote: > Set the codec->bias_level to SND_SOC_BIAS_OFF before changing > the initial bias level to STANDBY. > > Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> I've applied this one immediately since it doesn't need any of the other stuff. -- 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
Patch
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index f9121ef..c0b47df 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c @@ -2234,6 +2234,7 @@ static int __devinit twl4030_codec_probe(struct platform_device *pdev) /* Set the defaults, and power up the codec */ twl4030_init_chip(codec); + codec->bias_level = SND_SOC_BIAS_OFF; twl4030_set_bias_level(codec, SND_SOC_BIAS_STANDBY); ret = snd_soc_register_codec(codec);
Set the codec->bias_level to SND_SOC_BIAS_OFF before changing the initial bias level to STANDBY. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com> --- sound/soc/codecs/twl4030.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)