From: Melissa LeBlanc-Williams Date: Thu, 20 Jun 2019 23:11:03 +0000 (-0700) Subject: SPI fix for DragonBoard410c X-Git-Tag: 2.1.5^2 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/2b201095392228b15e11a4686631a1a8e9dc5434?hp=--cc SPI fix for DragonBoard410c --- 2b201095392228b15e11a4686631a1a8e9dc5434 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: