commit | 2e7437879897a4185bd84478a0451e5367dee7ed | [log] [tgz] |
---|---|---|
author | Troy Kisky <troy.kisky@boundarydevices.com> | Mon Jul 14 22:38:21 2008 +0200 |
committer | Jean Delvare <khali@mahadeva.delvare> | Mon Jul 14 22:38:21 2008 +0200 |
tree | 345d40055737b3067e598fe483a17c65ca8bb831 | |
parent | 5a0d5f5ffa5d294d895ef54fc220c6182db63998 [diff] |
i2c-davinci: Initialize cmd_complete sooner If an interrupt happens before an I2c master read/write, complete is called on uninitialized structure. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Signed-off-by: Kevin Hilman <khilman@mvista.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>