commit | 933611f7bbeb1b29218dca74cf1acfa910006cef | [log] [tgz] |
---|---|---|
author | Jeroen Hofstee <jeroen@myspectrum.nl> | Mon Jun 09 15:28:59 2014 +0200 |
committer | Marek Vasut <marex@denx.de> | Wed Jun 25 22:42:07 2014 +0200 |
tree | dc6be457d86024f3827a1076723cb884995c5a2d | |
parent | 198c5f998a1fbbdb5cfe6035f8c890ffb1526d8e [diff] |
usb:composite: clear the whole common buffer Since the struct fsg_common is calloced, reset it completely with zero's when reused. While at it, make checkpatch happy. cc: Lukasz Majewski <l.majewski@samsung.com> cc: Piotr Wilczek <p.wilczek@samsung.com> cc: Kyungmin Park <kyungmin.park@samsung.com> cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Lukasz Majewski <l.majewski@samsung.com>