[PATCH] usb: Fix microtek driver compilation errors

2017-06-06 Thread Mariusz Skamra
* desc = (struct mts_desc*)(srb->device->host->hostdata[0]); ^ etc. Signed-off-by: Mariusz Skamra <mariuszx.ska...@intel.com> --- drivers/usb/image/microtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/image/mic

[PATCH] usb: Make use of ktime_* comparison functions

2017-05-26 Thread Mariusz Skamra
Start using ktime_* compare functions to make the code backportable. Now that may be a bit tricky due to recent change of ktime_t. Signed-off-by: Mariusz Skamra <mariuszx.ska...@intel.com> Acked-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppusw...@intel.com> --- drivers/