]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: st21nfca: Free buffer when a bad frame is detected
authorChristophe Ricard <christophe.ricard@gmail.com>
Thu, 24 Apr 2014 21:19:35 +0000 (23:19 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 4 May 2014 23:04:10 +0000 (01:04 +0200)
commit4a0939b4cb5589a58e37d3eaf10fbf2b3c360d3b
treeefa7a8beebc1a60c5605ab2452cb80159677fdf6
parentf1b7c687404ccf5824df129df901f7af2b2e0874
NFC: st21nfca: Free buffer when a bad frame is detected

When a bad frame is detected for a bad crc.
We were reallocating and loosing the previous frame pointer.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfca/i2c.c