Modified flags for device access

Signed-off-by: cignat1 <costel.ignat1@windriver.com>
Modified flags for device access

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