linux/drivers/staging/most
Sandhya Bankar afd14cef01 Staging: most: Use usb_endpoint_dir_in(endpoint) instead of (endpoint->bEndpointAddress & USB_DIR_IN).
Use usb_endpoint_dir_in(endpoint) instead of (endpoint->bEndpointAddress & USB_DIR_IN) to check if the endpoint has IN direction.
This correction is based on following semantic patch,

@@
struct usb_endpoint_descriptor *endpoint;
expression E;
@@

(
- endpoint->bEndpointAddress & USB_DIR_IN
+ usb_endpoint_dir_in(endpoint)
|
- endpoint->bEndpointAddress == USB_DIR_IN
+ usb_endpoint_dir_in(endpoint)
|
- (endpoint->bEndpointAddress & E) == USB_DIR_IN
+ usb_endpoint_dir_in(endpoint)
)

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-10 19:26:05 -08:00
..
aim-cdev staging: most: return error value 2016-02-11 19:40:02 -08:00
aim-network staging: most: add statistics for dropped packets 2016-02-07 17:34:58 -08:00
aim-sound staging: most: remove multiple blank lines 2015-10-24 19:08:16 -07:00
aim-v4l2 staging: most: use preferred kzalloc parameters 2015-10-24 19:08:20 -07:00
Documentation Staging: most: Fix typo in staging/most 2015-10-12 20:35:21 -07:00
hdm-dim2 Staging: most: Use list_first_entry instead of list_entry 2016-03-10 19:26:05 -08:00
hdm-i2c staging: most: use preferred kernel types 2015-10-24 19:08:20 -07:00
hdm-usb Staging: most: Use usb_endpoint_dir_in(endpoint) instead of (endpoint->bEndpointAddress & USB_DIR_IN). 2016-03-10 19:26:05 -08:00
mostcore Staging: most: Do not print message if kzalloc() failed. 2016-02-25 22:34:19 -08:00
Kconfig Staging: most: MOST and MOSTCORE should depend on HAS_DMA 2015-09-13 09:24:44 -07:00
Makefile Staging: most: add MOST driver's hdm-usb module 2015-07-24 13:50:43 -07:00
TODO