diff options
author | Frank Li <Frank.Li@freescale.com> | 2009-12-01 12:43:59 +0800 |
---|---|---|
committer | David Ungar <david.ungar@timesys.com> | 2010-04-19 17:03:28 -0400 |
commit | 3c54c057c559a6f6590acfe3e0988ba2ea46f7e7 (patch) | |
tree | 429bf8122b0aa9ced374c22a7ab90d918514776e /drivers | |
parent | 2cb48a21fadd5ed2b4a642c19b449707fd2c8df0 (diff) |
ENGR00118888-1 Fix iMX23 mfg firmware usb segment fault
Miss some configuration and wrong use put_unaligned_be32
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/file_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c index 5750da43b39b..3c5f6e6a9d96 100644 --- a/drivers/usb/gadget/file_storage.c +++ b/drivers/usb/gadget/file_storage.c @@ -2109,7 +2109,7 @@ static int do_request_sense(struct fsg_dev *fsg, struct fsg_buffhd *bh) buf[12] = ASC(sd); buf[13] = ASCQ(sd); #ifdef CONFIG_STMP_UTP - put_unaligned_be32(&buf[8], UTP_CTX(fsg)->sdinfo_h); + put_unaligned_be32(UTP_CTX(fsg)->sdinfo_h, &buf[8]); #endif return 18; } |