summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/mach-smartq7.c
diff options
context:
space:
mode:
authorFelipe F. Tonello <eu@felipetonello.com>2016-08-08 21:30:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-08 11:51:56 +0200
commit3b48ece37e1320cdc15117e0377f04ddc3efb0a7 (patch)
tree24835f0f17f28522cef16025910c66f511ce879a /arch/arm/mach-s3c64xx/mach-smartq7.c
parent01de6f0d9495a881ba0ac8da8afa438a6bfa704f (diff)
usb: gadget: align buffer size when allocating for OUT endpoint
commit e0466156ee2e944fb47a3fa00932c3698a6d2c67 upstream. Using usb_ep_align() makes sure that the buffer size for OUT endpoints is always aligned with wMaxPacketSize (512 usually). This makes sure that no buffer has the wrong size, which can cause nasty bugs. Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-smartq7.c')
0 files changed, 0 insertions, 0 deletions