NFC: NCI: zero struct spi_transfer variables before usage
authorEric Lapuyade <eric.lapuyade@linux.intel.com>
Mon, 23 Sep 2013 16:02:43 +0000 (18:02 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 25 Sep 2013 12:21:09 +0000 (14:21 +0200)
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>

No differences found