From: Limor "Ladyada" Fried Date: Fri, 21 Jun 2019 06:18:39 +0000 (-0400) Subject: Merge pull request #136 from makermelissa/master X-Git-Tag: 2.1.5 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/6c1002e28a9740f16f028c64a9b080084fa6662e?hp=48f5328f9f8bf18a185c32f809f6f2c66df7c6d3 Merge pull request #136 from makermelissa/master SPI fix for DragonBoard410c --- diff --git a/src/adafruit_blinka/microcontroller/generic_linux/spi.py b/src/adafruit_blinka/microcontroller/generic_linux/spi.py index ef442b1..585bacc 100755 --- a/src/adafruit_blinka/microcontroller/generic_linux/spi.py +++ b/src/adafruit_blinka/microcontroller/generic_linux/spi.py @@ -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: