]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_sai: add of_match data
authorLucas Stach <l.stach@pengutronix.de>
Wed, 17 Jul 2019 10:56:33 +0000 (12:56 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:26:13 +0000 (13:26 +0100)
commit627a866a9dd7c94047285e99517cbc23833029f5
tree67a393340597326613d7a60861d9dc680ed3c570
parent07e6625d1ea771365810c35d508a54f5243c3ee1
ASoC: fsl_sai: add of_match data

New revisions of the SAI IP block have even more differences that need
be taken into account by the driver. To avoid sprinking compatible
checks all over the driver move the current differences into of_match_data.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Angus Ainslie <angus@akkea.ca>
Reviewed-by: Angus Ainslie <angus@akkea.ca>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20190717105635.18514-2-l.stach@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h