drm/i2c: tda998x: fix bad value in the AIF
authorJean-Francois Moine <moinejf@free.fr>
Sat, 25 Jan 2014 17:14:44 +0000 (18:14 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Feb 2014 16:33:09 +0000 (16:33 +0000)
commit7288ca07b638db485abec5752bd6b1faed1c33ef
tree1553858c9dd0c4e8ef6b4f0bf3595ab7161cecf0
parentd8ec26d7f8287f5788a494f56e8814210f0e64be
drm/i2c: tda998x: fix bad value in the AIF

The AIF has an uninitialized byte. This patch clears the whole buffer
before filling it.

Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c