mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-04-28 14:41:02 +02:00
The audio should only be enabled when the sound
node is enabled. This fixes the following error:
an7581-audio 1fbe2200.afe: probe with driver an7581-audio failed with error -2
Fixes: 7b55651 ("airoha: enable I2S sound driver and add nodes for eMMC RFB board")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://github.com/openwrt/openwrt/pull/22660
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>