History

bus: mhi: core: Remove the system error worker thread

Remove the system error worker thread and instead have the execution environment worker handle that transition to serialize processing and avoid any possible race conditions during shutdown.

Hemant Kumar committed 6 years ago

Commit bc7ccce1 parent 0ab9fcd5 files · +20 −25Browse files

Showing the changes to include/linux (1 of 5 files). Show all

Unified · Split

include/linux/mhi.h+0−2
@@ -331,7 +331,6 @@ struct mhi_controller_config { · 330 unmodified lines
331331 * @wlock: Lock for protecting device wakeup
332332 * @mhi_link_info: Device bandwidth info
333333 * @st_worker: State transition worker
334− * @syserr_worker: System error worker
335334 * @state_event: State change event
336335 * @status_cb: CB function to notify power states of the device (required)
337336 * @wake_get: CB function to assert device wake (optional)
@@ -411,7 +410,6 @@ struct mhi_controller { · 73 unmodified lines
411410 spinlock_t wlock;
412411 struct mhi_link_info mhi_link_info;
413412 struct work_struct st_worker;
414− struct work_struct syserr_worker;
415413 wait_queue_head_t state_event;
416414
417415 void (*status_cb)(struct mhi_controller *mhi_cntrl,