Re: [PATCH v1 3/4] hwmon (it87): Test for chipset before entering configuration mode

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

 



On Mon, Apr 01, 2024 at 01:56:05PM +1100, Frank Crawford wrote:
> Major part of the change for the new method to avoid chipset issues.
> 
> Perform an intial test if the chip ID can be read without entering
> configuration mode, if so, do not enter configuration mode and continue
> as is.
> 
> If chip ID cannot be read, enter configuration mode, and continue with
> previous code.
> 
> Also update exit code to take account of if we entered configuration
> mode or not.
> 

You describe the changes, but you don't describe the problem you are
trying to solve. Even if configuration mode was already entered, that
is not a reason to keep it active. We don't _know_ what is going on
outside the driver and can not make assumptions. For changes like this
you really need to explain the problem you are trying to solve, and the
reasoning behind the changes. Just assuming that a set of chips would
have its SIO mode enabled by the BIOS is just wrong. We don't know
what if anything the BIOS is doing.

Guenter




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux