[PATCH] w1: Added w1_reset_select_slave() - Resets the bus and then selects the slave by
sending either a skip rom or a rom match. Patch from Ben Gardner <bgardner@wabtec.com> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

کامیت شده توسط
Greg Kroah-Hartman

والد
db2d0008de
کامیت
ea7d8f65c8
@@ -34,5 +34,6 @@ u8 w1_calc_crc8(u8 *, int);
|
||||
void w1_write_block(struct w1_master *, const u8 *, int);
|
||||
u8 w1_read_block(struct w1_master *, u8 *, int);
|
||||
void w1_search_devices(struct w1_master *dev, w1_slave_found_callback cb);
|
||||
int w1_reset_select_slave(struct w1_slave *sl);
|
||||
|
||||
#endif /* __W1_IO_H */
|
||||
|
مرجع در شماره جدید
Block a user