commit | b05b7c7cc0324524dcda7fa7c2be1255290ee416 | [log] [tgz] |
---|---|---|
author | Muhammad Hamza Farooq <mfarooq@visteon.com> | Fri Sep 11 16:42:38 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Sep 20 22:52:13 2015 -0700 |
tree | ecaff7f9aebc82187b5613789b43c9c76d530420 | |
parent | f97ef759999485df485fe19a440d6af02d561140 [diff] |
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: Muhammad Hamza Farooq <mfarooq@visteon.com> Signed-off-by: Jacob Siverskog <jacob@teenage.engineering> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>