Keep camera device closed before launching the camera app

This patch was used to fix the problem that the system cannot suspend
when camera module inserted.

Signed-off-by: Max Liao <liaops@embedinfo.com>