OSDN Git Service

w1: mxc_w1: Fix incorrect "presence" status
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 8 May 2014 07:56:37 +0000 (11:56 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:51:46 +0000 (17:51 -0700)
commit37014f5bd069d4ea1a509ae1a978a74b1aa920b2
tree750e5d6e2048959616ba172b5d3aeb36f95a4f82
parentb29f680c4fe305902d02c1d5aa4968fe13a45fe6
w1: mxc_w1: Fix incorrect "presence" status

W1 reset_bus() should return zero if slave device is present.
This patch fix this issue.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/mxc_w1.c