From 1198b4bab3ab977e790be2486ed5c6eff5393672 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Sat, 19 Oct 2019 08:36:58 -0700 Subject: [PATCH] Always pass on set_no_cs() --- .../microcontroller/generic_linux/spi.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/adafruit_blinka/microcontroller/generic_linux/spi.py b/src/adafruit_blinka/microcontroller/generic_linux/spi.py index 322af93..f2ffa82 100755 --- a/src/adafruit_blinka/microcontroller/generic_linux/spi.py +++ b/src/adafruit_blinka/microcontroller/generic_linux/spi.py @@ -33,15 +33,8 @@ class SPI: self.chip = detector.chip 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) - try: - if not self.chip.AM33XX and not self.chip.IMX8MX and not self.chip.SAMA5 \ - and not self.chip.APQ8016 and not self.chip.T210 and not self.chip.T186 \ - and not self.chip.T194 and not self.chip.SUN8I: - self._spi.no_cs = True # this doesn't work but try anyways - except AttributeError: - pass + # No kernel seems to support this, so we're just going to pass + pass @property def frequency(self): -- 2.49.0