Modified flags for device access

Signed-off-by: cignat1 <costel.ignat1@windriver.com>