usb: pd: Remove log message from pd_timeout
The pd_timeout() timer callback function is used quite often
in scheduling state machine delays and serves multiple purposes
such as waiting for a response, delaying before executing power
supply transitions, etc. As such, the log message is sometimes
misconstrued as an error condition and may confuse the reader.
Instead, move the log print to kick_sm() in case the state
machine is queued with a delay.
Change-Id: I3879aecd39f44eb7a3c5135f086096261316c64d
Signed-off-by:
Jack Pham <jackp@codeaurora.org>
Loading
Please register or sign in to comment