Loading drivers/char/diag/diagfwd_cntl.c +0 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,6 @@ void diag_cntl_channel_close(struct diagfwd_info *p_info) driver->feature[peripheral].sent_feature_mask = 0; driver->feature[peripheral].rcvd_feature_mask = 0; flush_workqueue(driver->cntl_wq); reg_dirty |= PERIPHERAL_MASK(peripheral); diag_cmd_remove_reg_by_proc(peripheral); driver->feature[peripheral].stm_support = DISABLE_STM; Loading drivers/char/diag/diagfwd_peripheral.c +3 −0 Original line number Diff line number Diff line Loading @@ -897,6 +897,9 @@ int diagfwd_channel_close(struct diagfwd_info *fwd_info) if (!fwd_info) return -EIO; if (fwd_info->type == TYPE_CNTL) flush_workqueue(driver->cntl_wq); mutex_lock(&driver->diagfwd_channel_mutex[fwd_info->peripheral]); fwd_info->ch_open = 0; if (fwd_info && fwd_info->c_ops && fwd_info->c_ops->close) Loading Loading
drivers/char/diag/diagfwd_cntl.c +0 −1 Original line number Diff line number Diff line Loading @@ -68,7 +68,6 @@ void diag_cntl_channel_close(struct diagfwd_info *p_info) driver->feature[peripheral].sent_feature_mask = 0; driver->feature[peripheral].rcvd_feature_mask = 0; flush_workqueue(driver->cntl_wq); reg_dirty |= PERIPHERAL_MASK(peripheral); diag_cmd_remove_reg_by_proc(peripheral); driver->feature[peripheral].stm_support = DISABLE_STM; Loading
drivers/char/diag/diagfwd_peripheral.c +3 −0 Original line number Diff line number Diff line Loading @@ -897,6 +897,9 @@ int diagfwd_channel_close(struct diagfwd_info *fwd_info) if (!fwd_info) return -EIO; if (fwd_info->type == TYPE_CNTL) flush_workqueue(driver->cntl_wq); mutex_lock(&driver->diagfwd_channel_mutex[fwd_info->peripheral]); fwd_info->ch_open = 0; if (fwd_info && fwd_info->c_ops && fwd_info->c_ops->close) Loading