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)
commitf0e8ed858edb327802ee65fd695cc1538286226f
treea9d199786e89f82ac68aa2f78850c59f095f774d
parentf93dc4b6c975baeef9267a62451b370fbc586f3f
ASoC: Ensure we generate a driver name

Commit 873bd4c (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