]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/generic_linux/spi.py
SPI fix for DragonBoard410c
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / generic_linux / spi.py
index ef442b162576d0b4e440a4f51e6b74e8730fc5b4..585baccfafe2af0e8726d7138fbbb60db5216f43 100755 (executable)
@@ -35,7 +35,8 @@ class SPI:
     def set_no_cs(self):
         # Linux SPI driver for AM33XX chip in BeagleBone and PocketBeagle
         # does not support setting SPI_NO_CS mode bit (issue #104)
-        if not self.chip.AM33XX and not self.chip.IMX8MX and not self.chip.SAMA5:
+        if not self.chip.AM33XX and not self.chip.IMX8MX and not self.chip.SAMA5 \
+         and not self.chip.APQ8016:
             try:
                 self._spi.no_cs = True  # this doesn't work but try anyways
             except AttributeError: