media: rockchip: hdmirx: hdmirx_audio_startup always return 0

PulseAudio would fail to load alsa card if hdmirx_audio_startup return error

Link: https://github.com/radxa/kernel/pull/386

Signed-off-by: Jiali Chen <chenjiali@radxa.com>
Signed-off-by: Stephen Chen <stephen@radxa.com>
This commit is contained in:
amazingfate 2023-06-26 15:02:31 +08:00 committed by Stephen Chen
commit edb3eeeaa4

View file

@ -3518,8 +3518,8 @@ static int hdmirx_audio_startup(struct device *dev, void *data)
if (tx_5v_power_present(hdmirx_dev) && hdmirx_dev->audio_present)
return 0;
dev_err(dev, "%s: device is no connected or audio is off\n", __func__);
return -ENODEV;
dev_dbg(dev, "%s: device is no connected or audio is off\n", __func__);
return 0;
}
static void hdmirx_audio_shutdown(struct device *dev, void *data)