]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Ensure we generate a driver name
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Sep 2011 10:41:54 +0000 (11:41 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 21 Sep 2011 13:54:23 +0000 (14:54 +0100)
commit48a7b8a650cc3869e2e4531b404726f1608857cf
treea9d199786e89f82ac68aa2f78850c59f095f774d
parent90bbbb3e62d992b40bc21b406eb07e76667713b0
ASoC: Ensure we generate a driver name

Commit 258628e (ASoC: Don't set invalid name string to snd_card->driver
field) broke generation of a driver name for all ASoC cards relying on the
automatic generation of one. Fix this by using the old default with spaces
replaced by underscores.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
sound/soc/soc-core.c