commit | 898d686eead1df09970757dfd469b659d5a208be | [log] [tgz] |
---|---|---|
author | Troy Kisky <troy.kisky@boundarydevices.com> | Wed Sep 11 18:24:48 2013 +0800 |
committer | Marek Vasut <marex@denx.de> | Tue Sep 24 17:51:35 2013 +0200 |
tree | 8f7b782bdb5f5726f2183a47a4812bc542890872 | |
parent | 7a813d5b7d7e8dce209999f460d962d41a0b8a3e [diff] |
usb: gadget: config: fix unaligned access issues As seen with codesourcery compiler 2010q1, the buf pointer in usb_request structure is not aligned on 4 bytes boundary causing data aborts in eth_setup -> conf_buf -> usb_gadget_config_buf. Make it as align access to fix this issue. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> [voice.shen@atmel.com: add commit message] Signed-off-by: Bo Shen <voice.shen@atmel.com>