commit | a4ada6cadb8a2246f263ff6a0d0cca8832f3970e | [log] [tgz] |
---|---|---|
author | Eric Lapuyade <eric.lapuyade@linux.intel.com> | Mon Sep 23 18:02:43 2013 +0200 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Wed Sep 25 14:21:09 2013 +0200 |
tree | 08250fa111f17418b86de18c2c62e53043fb2bc3 | |
parent | 5ce3f32b5264b337bfd13a780452a17705307725 [diff] |
NFC: NCI: zero struct spi_transfer variables before usage Using ARM compiler, and without zero-ing spi_transfer, spi-s3c64xx driver would issue abnormal errors due to bpw field value being set to unexpected value. This structure MUST be set to all zeros except for those field specifically used. Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>