Skip to content
Commit b05b7c7c authored by Muhammad Hamza Farooq's avatar Muhammad Hamza Farooq Committed by Greg Kroah-Hartman
Browse files

ti-st: use worker instead of calling st_int_write in wake up



The wake up method is called with the port lock held. The st_int_write
method calls port->ops->write with tries to acquire the lock again,
causing CPU to wait infinitely. Right way to do is to write data to port
in worker thread.

Signed-off-by: default avatarMuhammad Hamza Farooq <mfarooq@visteon.com>
Signed-off-by: default avatarJacob Siverskog <jacob@teenage.engineering>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f97ef759
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment