Re: xhci usb serial open/close issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 15, 2016 at 07:19:07PM +0530, shishir tiwari wrote:
> Hi Greg,
> 
> To debug i have put some printk inside this xhci_handle_event() function
> 
> for example:
> xhci_handle_event(){
>              .....
>             ........
>        case TRB_TYPE(TRB_COMPLETION):
>               +  printk(KERN_EMERG "TRB_COMPLETION info
> :%d",le32_to_cpu(event->event_cmd.flags) & TRB_TYPE_BITMASK);
>                 handle_cmd_completion(xhci, &event->event_cmd);
>                 break;
>         case TRB_TYPE(TRB_TRANSFER):
>                + printk(KERN_EMERG "TRB_TRANSFER info
> :%d",le32_to_cpu(event->event_cmd.flags) & TRB_TYPE_BITMASK);
>                 ret = handle_tx_event(xhci, &event->trans_event);
>                 if (ret < 0)
>                         xhci->error_bitmask |= 1 << 9;
>                 else
>                         update_ptrs = 0;
>                 break;
> 
> }
> 
> Now i am not getting any error with the same script .but i need to
> give some clarification on this.
> 
> What may be the reason that error is not coming now??

Again, no idea, you are on your own with such an old and obsolete kernel
version, sorry.  Please get support for it from the vendor that is
forcing you to use it.

best of luck!

greg k-h

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux