i2c: ismt: initialize DMA buffer
authorJames Ralston <james.d.ralston@intel.com>
Tue, 24 Sep 2013 23:47:55 +0000 (16:47 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 28 Sep 2013 14:32:12 +0000 (16:32 +0200)
commitbf4169100c909667ede6af67668b3ecce6928343
treefc4afe632fdeee15ebaad6db8ef5a86a2bcc2ce2
parentbd63ace4dc4290165bbf3bf546eba50453d0aa9d
i2c: ismt: initialize DMA buffer

This patch adds code to initialize the DMA buffer to compensate for
possible hardware data corruption.

Signed-off-by: James Ralston <james.d.ralston@intel.com>
[wsa: changed to use 'sizeof']
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-ismt.c