commit | 877bd862f32b815d54ab5fc10a4fd903d7bf3012 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Wed Oct 24 19:46:54 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 26 03:36:50 2012 -0400 |
tree | 83242b70bcf295b189ac4afa5ba115755bc9a66a | |
parent | 02c38d0a0b7b973911e66d38e369d0fcfce2c186 [diff] |
usbnet: introduce usbnet 3 command helpers This patch introduces the below 3 usb command helpers: usbnet_read_cmd / usbnet_write_cmd / usbnet_write_cmd_async so that each low level driver doesn't need to implement them by itself, and the dma buffer allocation for usb transfer and runtime PM things can be handled just in one place. Acked-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>