mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-13 04:31:53 -10:00
regnode_set_voltage_checked() called regnode_delay() with the delay returned by the driver even when REGNODE_SET_VOLTAGE() failed. A driver does not have to set it on error, so the delay could be a random value from the stack. Only wait when the voltage was set, like regnode_set_voltage() does. Reported by: llm-postcr Tested on: A64