Skip to content
Commit 0653b396 authored by Guoniu.zhou's avatar Guoniu.zhou Committed by Xiaolei Wang
Browse files

MLK-25041: media: imx8: media-dev: return if media device has been registered

commit 985c60e55694a69effd2197f798cb039a17144c6 from
https://source.codeaurora.org/external/imx/linux-imx



subdev_notifier_complete will be called multi times in some cases
due to workaround to support hotplugin-like mechanism, so add checking
media device register status before register new media device.

Signed-off-by: default avatarGuoniu.zhou <guoniu.zhou@nxp.com>
Reviewed-by: default avatarRobby Cai <robby.cai@nxp.com>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent e5347594
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment