]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: Add utility to set a card's name from device tree
authorStephen Warren <swarren@nvidia.com>
Mon, 12 Dec 2011 22:55:34 +0000 (15:55 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 20 Dec 2011 01:05:34 +0000 (01:05 +0000)
commitbec4fa05e25f7e78ec67df389539acc6bb352a2a
treeddde93b4ca9604bf586bde2381cdb8c0dffd3f07
parent6048ef768e7bec7e1e17f48fe8d5360021928b4a
ASoC: Add utility to set a card's name from device tree

Implement snd_soc_of_parse_card_name(), a utility function that sets a
card's name from device tree. The machine driver specifies the DT
property to use, since this is binding-specific.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-core.c