mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-18 13:56:26 +07:00
media: platform: stm32: don't print an error on probe deferral
Change stm32-cec driver to not print an error message when the device probe operation is deferred. Signed-off-by: Etienne Carriere <etienne.carriere@st.com> Reviewed-by: Philippe Cornu <philippe.cornu@st.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
40ed962993
commit
a5e72cfa6a
@ -291,7 +291,9 @@ static int stm32_cec_probe(struct platform_device *pdev)
|
||||
|
||||
cec->clk_cec = devm_clk_get(&pdev->dev, "cec");
|
||||
if (IS_ERR(cec->clk_cec)) {
|
||||
if (PTR_ERR(cec->clk_cec) != -EPROBE_DEFER)
|
||||
dev_err(&pdev->dev, "Cannot get cec clock\n");
|
||||
|
||||
return PTR_ERR(cec->clk_cec);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user