Commits
Zhang Bo committed 108d0ead013
MA-16626[Android] ISI driver probe blocked when probe submodule at the same time When the car image do post init, the isi device probe blocked when it populate its submodules. Because the submodule populated in the isi probe function and these submodules will probe when isi probe is ongoing. These submodules probe function will get isi mutex lock, but this mutex lock is locked before do isi probe function. It cause both isi and its submodules dead lock. Use device_trylock() instead of device_lock() when these submodules probe. If these submodules fail to get the parent's mutex lock, defer probe. Change-Id: I287f91162e5d66b57db843ba3ad16083303df3ce Signed-off-by: Zhang Bo <bo.zhang@nxp.com>