8 Jun
2012
8 Jun
'12
12:13 a.m.
On Mon, Jun 04, 2012 at 02:37:30PM +0800, Zhangfei Gao wrote:
One small thing here...
- ret = snd_soc_add_card_controls(dapm->card, brownstone_dapm_control,
ARRAY_SIZE(brownstone_dapm_control));
- if (ret < 0)
return ret;
You can just set these up with the controls member of the card struct.