lkml.org 
[lkml]   [2021]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSPI not working on 5.10 and 5.11, bisected to 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
Date
Hello,

My board has powerpc 885 microcontroler. Temperature sensor is an LM74.

Kernel has CONFIG_SPI_FSL_SPI and CONFIG_SPI_FSL_CPM and CONFIG_SENSORS_LM70.

Since kernel 5.10, 'sensors' reports temperature 0°C on my board:

root@vgoip:~# sensors

lm74-spi-0-5
Adapter: SPI adapter
temp1: +0.0 C

lm74-spi-0-1
Adapter: SPI adapter
temp1: +0.0 C

With commit 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors") reverted,
it is back to work:

root@vgoip:~# sensors

lm74-spi-0-5
Adapter: SPI adapter
temp1: +38.9 C

lm74-spi-0-1
Adapter: SPI adapter
temp1: +37.2 C


What shall I do ?

Thanks
Christophe

\
 
 \ /
  Last update: 2021-01-13 09:51    [W:0.192 / U:1.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site