OSDN Git Service

ASoC: use helper function and cleanup
authorMark Brown <broonie@kernel.org>
Tue, 31 Jan 2023 17:07:49 +0000 (17:07 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 31 Jan 2023 17:07:49 +0000 (17:07 +0000)
commit6570befb4fccce7ba49e5c74adbdae9bba5d9824
treefb56c03ffa91d5a5130f635975148eee74759b9c
parent01b17067f4f31a9c243ee06f4826279dae97abf2
parent3653480c68120dc16ebfeb80e529200dbbd98f92
ASoC: use helper function and cleanup

Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

struct snd_soc_dai need to have info for playback/capture,
but it is using "playback/capture_xxx" or "tx/tx_xxx" or array.
This kind of random definition is very difficult to read.

This patch-set add helper functions and each driver use it.
And cleanup the definition.