]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - src/adafruit_blinka/microcontroller/generic_linux/spi.py
Merge branch 'master' of https://github.com/adafruit/Adafruit_Blinka into pwmout_deinit
[Adafruit_Blinka-hackapet.git] / src / adafruit_blinka / microcontroller / generic_linux / spi.py
index 5e1bc410423ca8be696e40b01d8a0d96055eebcd..9ef05fc14d4cc089cc68663a4e8e7070c3837d77 100755 (executable)
@@ -35,7 +35,7 @@ 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)
     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:
+        if not self.chip.AM33XX and not self.chip.IMX8MX:
             try:
                 self._spi.no_cs = True  # this doesn't work but try anyways
             except AttributeError:
             try:
                 self._spi.no_cs = True  # this doesn't work but try anyways
             except AttributeError: