Loading drivers/hwtracing/coresight/coresight-byte-cntr.c +6 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,12 @@ void usb_bypass_stop(struct byte_cntr *byte_cntr_data) return; mutex_lock(&byte_cntr_data->usb_bypass_lock); if (byte_cntr_data->read_active) byte_cntr_data->read_active = false; else { mutex_unlock(&byte_cntr_data->usb_bypass_lock); return; } wake_up(&byte_cntr_data->usb_wait_wq); pr_info("coresight: stop usb bypass\n"); coresight_csr_set_byte_cntr(byte_cntr_data->csr, 0); Loading Loading
drivers/hwtracing/coresight/coresight-byte-cntr.c +6 −1 Original line number Diff line number Diff line Loading @@ -217,7 +217,12 @@ void usb_bypass_stop(struct byte_cntr *byte_cntr_data) return; mutex_lock(&byte_cntr_data->usb_bypass_lock); if (byte_cntr_data->read_active) byte_cntr_data->read_active = false; else { mutex_unlock(&byte_cntr_data->usb_bypass_lock); return; } wake_up(&byte_cntr_data->usb_wait_wq); pr_info("coresight: stop usb bypass\n"); coresight_csr_set_byte_cntr(byte_cntr_data->csr, 0); Loading