[media] drx-j: Be sure that all allocated data are properly initialized
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 18 Jan 2014 14:12:46 +0000 (11:12 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Mar 2014 17:31:21 +0000 (14:31 -0300)
The state struct is allocated without cleaning the memory.
This causes random bugs.

Clean it, and move the memcpy functions just below each kalloc,
to be clearer that all those data are properly filled.

Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>

No differences found