[PATCH RESEND] hwmon: lm70: TI TMP121 support.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've just sent in the patch (as a separate email). Pl take a look..

On Wed, 2008-10-29 at 23:49 -0700, David Brownell wrote:

> Maybe the lm70llp code shouldn't set spi->bits_per_word to 16;
> that seems to be another problem.
Well, kind of pecuiliar behaviour here..

When i set bits_per_word to 0, the chip does not sense temperature
correctly, returning wrong values.

When set to 8, it works just fine.

However: 
drivers/spi/spi_bitbang.c:spi_bitbang_setup
--snip--
      if (!spi->bits_per_word)
                 spi->bits_per_word = 8;
--snip--


- Kaiwan.






[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux