commit | 31787f5398c3c5aced755e8abd5ae00a2c371cd4 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Wed Jul 31 17:21:25 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 31 14:49:13 2013 -0700 |
tree | 3ab1264fefcfd31691e5787a924a680e403054d7 | |
parent | 543ae7f9c4e69816043ac3b526310353b413b325 [diff] |
net/usb/r8152: make sure the USB buffer is DMA-able Allocate the required memory before calling usb_control_msg. And the additional memory copy is necessary. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>