ip17xx: Fixed error handling in ip175c_set_val()