Camera: HAL: Add a workaround to ensure that the file
descriptor returned in open call is non-zero

Sometimes open call to camera driver returns 0, which is
not expected. When it happens, the behaviour is
undeterministic. Hence add the workaround till the issue
is resolved.
1 file changed