FMCOMMS2 : check the return value before setting things up,
           to make sure kernel/userspace match

Signed-off-by: Robin Getz <robin.getz@analog.com>
osc:libini: return error open fails

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>