mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
w1: added w1 reset command
Command which allows to reset the bus. Signed-off-by: Evgeniy Polyakov <[email protected]> Cc: Paul Alfille <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
325a06fb13
commit
f89735c4e2
3 changed files with 10 additions and 0 deletions
|
|
@ -112,6 +112,12 @@ cn_msg->len = sizeof(struct w1_netlink_msg) +
|
|||
sizeof(struct w1_netlink_cmd) +
|
||||
N*8;
|
||||
|
||||
W1 reset command.
|
||||
[cn_msg]
|
||||
[w1_netlink_msg type = W1_MASTER_CMD
|
||||
id is equal to the bus master id to use for searching]
|
||||
[w1_netlink_cmd cmd = W1_CMD_RESET]
|
||||
|
||||
Operation steps in w1 core when new command is received.
|
||||
=======================================================
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue