w1: add ds2433 cache (0/3)
PATCH 1/1 w1: add ds2433 cache (0/3)
Hi Evgeniy,
Here's my last modifications to the ds2433 w1 driver.
I added caching of the data if the 32-byte block contains the recommended crc16 in the last two bytes of each block.
The driver only allows writes of full 32-byte blocks if the CRC16 in the block is correct.
I also added a family_data member to the w1_slave structure.
Also included in this series is lib/crc16.[ch], which is modeled after lib/crc_ccitt.[ch]
These patches are based off the w1 patches that Greg just applied.
Quoted 9 lines · Ben Gardner
Hi Evgeniy,
Here's my last modifications to the ds2433 w1 driver.
I added caching of the data if the 32-byte block contains the recommended crc16 in the last two bytes of each block.
The driver only allows writes of full 32-byte blocks if the CRC16 in the block is correct.
I also added afamily_datamember to thew1_slavestructure.
Quoted 6 lines
Also included in this series is lib/crc16.[ch], which is modeled after lib/crc_ccitt.[ch]
These patches are based off the w1 patches that Greg just applied.
Signed-off-by Ben Gardner <[email protected]>
I ack all 4 patches and will apply and push them upstream hopefully today.
Thank you.
Signature · 1 line
Evgeniy Polyakov