]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: arm: make pxa2xx-ac97-lib ac97 codec agnostic
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 2 Sep 2017 19:54:06 +0000 (21:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 Sep 2017 17:24:56 +0000 (18:24 +0100)
commita8daf88125e903fcaf1839f657dd2bc47c1e1be4
tree872fbd3a3e4c81e523424eecb68ba94cc03285f2
parent455a05f8bf5530b76fd22f3ba074e4662850909e
ASoC: arm: make pxa2xx-ac97-lib ac97 codec agnostic

All pxa library functions don't use the input parameters for nothing but
slot number. This simplifies their prototypes, and makes them usable by
both the legacy ac97 bus and the new ac97 bus.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/pxa2xx-lib.h
sound/arm/pxa2xx-ac97-lib.c
sound/arm/pxa2xx-ac97.c
sound/soc/pxa/pxa2xx-ac97.c