From: Mark A. Greer Date: Tue, 2 Sep 2014 22:12:42 +0000 (-0700) Subject: NFC: trf7970a: Don't turn on RF if there is already an RF field X-Git-Tag: fixes-against-v3.18-rc2~144^2~39^2~72^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=851ee3cbf850501104e76683e439a4061f378a96;p=pandora-kernel.git NFC: trf7970a: Don't turn on RF if there is already an RF field Currently, the trf7970a driver blindly turns on its RF field when configuring its framing. This isn't a good idea if there is already a device generating an RF field. Instead, check if there is already an RF field present before turning on this device's RF field and, if there is, return EBUSY. Signed-off-by: Mark A. Greer Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed