Re: [PATCH net-next] usbnet: Fix tx_packets stat for FLAG_MULTI_FRAME drivers

2015-02-28 Thread David Miller
From: Ben Hutchings Date: Thu, 26 Feb 2015 19:34:37 + > Currently the usbnet core does not update the tx_packets statistic for > drivers with FLAG_MULTI_PACKET and there is no hook in the TX > completion path where they could do this. > > cdc_ncm and dependent drivers are bumping tx_packets

[PATCH v5 3/4] usb: storage: adjust module reference for scsi host

2015-02-28 Thread Akinobu Mita
While accessing a unusual usb storage (ums-alauda, ums-cypress, ...), the module reference count is not incremented. Because these drivers allocate scsi hosts with usb_stor_host_template defined in usb-storage module. So these drivers always can be unloaded. This fixes it by passing correct modu

[PATCH v5 1/4] scsi: add ability to adjust module reference for scsi host

2015-02-28 Thread Akinobu Mita
While accessing a scsi_device, the use count of the underlying LLDD module is incremented. The module reference is retrieved through .module field of struct scsi_host_template. This mapping between scsi_device and underlying LLDD module works well except ufs, unusual usb storage drivers, and sub

[PATCH v5 0/4] scsi: ufs & ums-* & esp_scsi: fix module reference counting

2015-02-28 Thread Akinobu Mita
While accessing a scsi_device, the use count of the underlying LLDD module is incremented. The module reference is retrieved through .module field of struct scsi_host_template. This mapping between scsi_device and underlying LLDD module works well except ufs, unusual usb storage drivers, and sub

RE: [PATCH 3/3] usb: chipidea: use hrtimer for otg fsm timers

2015-02-28 Thread Peter Chen
> > > > > @@ -579,8 +579,15 @@ int ci_otg_fsm_work(struct ci_hdrc *ci) > > > > >* a_idle to a_wait_vrise when power up > > > > >*/ > > > > > if ((ci->fsm.id) || (ci->id_event) || > > > > > -