Modified flags for device access

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