mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
media: rockchip: hdmirx: fix compilation warn of missing error code ret
Fixes: 0260220515 ("media: rockchip: hdmirx: add hdmirx class for audio info")
Signed-off-by: Shunhua Lan <lsh@rock-chips.com>
Change-Id: Ie8d93b19666233e6903dac2499022ccb85b37fda
This commit is contained in:
@@ -3717,8 +3717,10 @@ static int hdmirx_probe(struct platform_device *pdev)
|
||||
hdmirx_dev,
|
||||
hdmirx_groups,
|
||||
"hdmirx");
|
||||
if (IS_ERR(hdmirx_dev->classdev))
|
||||
if (IS_ERR(hdmirx_dev->classdev)) {
|
||||
ret = PTR_ERR(hdmirx_dev->classdev);
|
||||
goto err_unreg_video_dev;
|
||||
}
|
||||
ret = devm_add_action_or_reset(dev, hdmirx_unregister_class_device, hdmirx_dev);
|
||||
if (ret)
|
||||
goto err_unreg_video_dev;
|
||||
|
||||
Reference in New Issue
Block a user