The ->state field is currently initialized to 0, thus referencing thevoltage selector at index 0, which might not reflect the current voltagevalue.If possible, retrieve the current voltage selector from the PWM state, elsereturn -EINVAL.