[PATCH v2 0/2] Add threshold events support

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

 



Add patch for providing index for both channels and add patch for threshold
events support for the MCP9600 device.

Changes in V2:
  - Remove pretty printing patches from series
  - Add patch for providing index for both channels(ABI change)!
    Suggested by Jonathan, hope this okay.
  - Remove formatting in a precursor patch
  - Add lock documentation
  - Add define MCP9600_TEMP_SCALE_NUM and use it instead of MICRO. MICRO is
    type unsigned long which we have to cast to int when using
    multiplication or division, because we are handling negative values.
  - Use switch statement in mcp9600_write_thresh
  - Replaced generic interrupt handler with four separate interrupt handler
  - Use one lock instead of four
  - Added error check for mcp9600_probe_alerts
     

Dimitri Fedrau (2):
  iio: temperature: mcp9600: Provide index for both channels
  iio: temperature: mcp9600: add threshold events support

 drivers/iio/temperature/mcp9600.c | 398 +++++++++++++++++++++++++++++-
 1 file changed, 396 insertions(+), 2 deletions(-)

-- 
2.39.2





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux