mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:20:53 +07:00
ASoC: Add support for OpenRD Ultimate
OpenRD Ultimate & Client are similar machines so enable OpenRD client sound support on Ultimate too Tested-by: Robas Teodor <teodor.robas@gmail.com> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
f9a67059d4
commit
3c9e28e751
@ -171,7 +171,7 @@ static void __init openrd_init(void)
|
||||
|
||||
kirkwood_i2c_init();
|
||||
|
||||
if (machine_is_openrd_client()) {
|
||||
if (machine_is_openrd_client() || machine_is_openrd_ultimate()) {
|
||||
i2c_register_board_info(0, i2c_board_info,
|
||||
ARRAY_SIZE(i2c_board_info));
|
||||
kirkwood_audio_init();
|
||||
|
@ -11,7 +11,7 @@ config SND_KIRKWOOD_SOC_I2S
|
||||
|
||||
config SND_KIRKWOOD_SOC_OPENRD
|
||||
tristate "SoC Audio support for Kirkwood Openrd Client"
|
||||
depends on SND_KIRKWOOD_SOC && MACH_OPENRD_CLIENT
|
||||
depends on SND_KIRKWOOD_SOC && (MACH_OPENRD_CLIENT || MACH_OPENRD_ULTIMATE)
|
||||
select SND_KIRKWOOD_SOC_I2S
|
||||
select SND_SOC_CS42L51
|
||||
help
|
||||
|
@ -86,7 +86,7 @@ static int __init openrd_client_init(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (!machine_is_openrd_client())
|
||||
if (!machine_is_openrd_client() && !machine_is_openrd_ultimate())
|
||||
return 0;
|
||||
|
||||
openrd_client_snd_device = platform_device_alloc("soc-audio", -1);
|
||||
|
Loading…
Reference in New Issue
Block a user