mfd: cs42l43: Correct SoundWire port list
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Thu, 30 Nov 2023 11:57:11 +0000 (11:57 +0000)
committerLee Jones <lee@kernel.org>
Thu, 7 Dec 2023 13:50:30 +0000 (13:50 +0000)
commit47b1b03dc56ebc302620ce43e967aa8f33516f6f
tree973b7b6d4d4b8976c7b867101748478f1783eb01
parent1fe13d83e2873b0aedeb5b9a299ca763bd37d75f
mfd: cs42l43: Correct SoundWire port list

Two ports are missing from the port list, and the wrong port is set
to 4 channels. Also the attempt to list them by function is rather
misguided, there is nothing in the hardware that fixes a particular
port to one function. Factor out the port properties to an actual
struct, fixing the missing ports and correcting the port set to 4
channels.

Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231130115712.669180-1-ckeepax@opensource.cirrus.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/cs42l43-sdw.c