linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SPI not working on 5.10 and 5.11, bisected to 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors")
@ 2021-01-13  8:49 Christophe Leroy
  2021-01-13 12:33 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Christophe Leroy @ 2021-01-13  8:49 UTC (permalink / raw)
  To: Sven Van Asbroeck, Linus Walleij, Mark Brown
  Cc: linux-spi, linux-kernel, linuxppc-dev

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-01-14 14:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  8:49 SPI not working on 5.10 and 5.11, bisected to 766c6b63aa04 ("spi: fix client driver breakages when using GPIO descriptors") Christophe Leroy
2021-01-13 12:33 ` Mark Brown
2021-01-14 11:27   ` Christophe Leroy
2021-01-14 11:59     ` Mark Brown
2021-01-14 12:33       ` Christophe Leroy
2021-01-14 13:22         ` Mark Brown
2021-01-14 13:42           ` Christophe Leroy
2021-01-14 13:59             ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).