i2c: add error message when obtaining idr fails