Skip to content
Unverified Commit 62f9ed5f authored by Paul Cercueil's avatar Paul Cercueil Committed by Mark Brown
Browse files

ASoC: jz4740-i2s: Avoid passing enum as match data



Instead of passing an enum as match data, and checking its value in the
probe to register one or the other dai, pass a pointer to a struct
i2s_soc_info, which contains all the information relative to one SoC.

Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20200306222931.39664-4-paul@crapouillou.net


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a42d9ba1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment