Input: max8997_haptic - add error handling for regulator and pwm