]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ASoC: uda134x: Optionally initialize L3 ops to default GPIO ops
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 4 Aug 2016 13:38:43 +0000 (15:38 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Aug 2016 10:55:20 +0000 (11:55 +0100)
commit15a1bf0a7d3d7e6b351cac472ca4b6bc3746eb2e
tree5c9cae9cae3cb1d8ea23387896803d5a2e81385f
parent11496471a1a2e126e7228c88a606544bb57c3e19
ASoC: uda134x: Optionally initialize L3 ops to default GPIO ops

The GPIO ops can be selected by platform_data which allows the
codec platform device to probe without the sound card's driver
intervention.

The downside is that it will request GPIOs on behalf of the codec
device and thus allow only one user on the bus, but it desn't seem
to be a limitation with current code and usage of the GPIO ops is
optional anyway.
The proper approach would presumably be to create a proper Linux
bus driver for L3, should this rather ancient bus specification
suddenly gain more interest.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/uda134x.c