usb: gadget: f_uac1: endianness fixes.
authorRuslan Bilovol <ruslan.bilovol@gmail.com>
Sun, 25 Jun 2017 13:23:46 +0000 (16:23 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 18 Jul 2017 06:33:16 +0000 (09:33 +0300)
commit42370b821168e6730ec4c7d988aeadc1260c7b4d
treea8b0407a65825a6ff2b417cfe16d6429363e4c08
parent8bd226f9a7dc18740a916dcba3112f2bfc3ad9e8
usb: gadget: f_uac1: endianness fixes.

As per USB spec, multiple-bytes fields are stored
in little-endian order. Use CPU<->LE helpers for
such fields.

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/function/f_uac1.c