]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e5fb0f15dc7be2c1ed11ce7657c8e9348cdedb7
treefc4afe632fdeee15ebaad6db8ef5a86a2bcc2ce2
parentf00790f3df0dd8031e31f6bf6aa347f64f8f2bf2
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