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:
parent
3bf1637426
commit
edb3eeeaa4
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue