greybus: es2: Don't use stack memory as USB request data

USB request data must be DMAble memory, allocate it with kzalloc()
instead of declaring it as a local variable.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Laurent Pinchart 2015-12-22 03:00:37 +02:00 • committed by Greg Kroah-Hartman
commit ccb5803591