commit | 53d454a170e86594af1d27be820e678a582af751 | [log] [tgz] |
---|---|---|
author | Brian Niebuhr <bniebuhr@efjohnson.com> | Thu Aug 19 17:04:25 2010 +0530 |
committer | Sekhar Nori <nsekhar@ti.com> | Thu Nov 18 18:38:28 2010 +0530 |
tree | 437b09d173aa8ee0479ba7c8e7e04875fbdafb13 | |
parent | b7ab24a0da96c8fc6d551ea87e82692299df6ac6 [diff] |
spi: davinci: check for NULL buffer pointer before using it In the davinci_spi_{tx|rx}_u{8|16}() functions, check for buffer pointer being valid before using it. While providing for better error checking, this change will help simplify code in the caller. Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com> Tested-By: Michael Williamson <michael.williamson@criticallink.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>