commit | 851ee3cbf850501104e76683e439a4061f378a96 | [log] [tgz] |
---|---|---|
author | Mark A. Greer <mgreer@animalcreek.com> | Tue Sep 02 15:12:42 2014 -0700 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun Sep 07 23:13:45 2014 +0200 |
tree | 698b971d53ad0a2876e1eb3b1e85bd53f42eafdc | |
parent | 7149d6bfecadc255e9d964782a9fdd70f610f1ea [diff] |
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 <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>