mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 18:17:50 -04:00
w1: ds2408: make value read-back check a Kconfig option
De-activating this reading back will effectively half the time required for a write to the output register. Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
96dd86fa58
commit
aceca28544
@@ -22,6 +22,16 @@ config W1_SLAVE_DS2408
|
||||
Say Y here if you want to use a 1-wire
|
||||
DS2408 8-Channel Addressable Switch device support
|
||||
|
||||
config W1_SLAVE_DS2408_READBACK
|
||||
bool "Read-back values written to DS2408's output register"
|
||||
depends on W1_SLAVE_DS2408
|
||||
default y
|
||||
help
|
||||
Enabling this will cause the driver to read back the values written
|
||||
to the chip's output register in order to detect errors.
|
||||
|
||||
This is slower but useful when debugging chips and/or busses.
|
||||
|
||||
config W1_SLAVE_DS2413
|
||||
tristate "Dual Channel Addressable Switch 0x3a family support (DS2413)"
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user