w1: mxc_w1: Fix mxc_w1_ds2_reset_bus() return value
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 22 Feb 2014 07:29:49 +0000 (11:29 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2014 23:27:09 +0000 (15:27 -0800)
commitaea476b50503ece7c95a15484427aedfff87af04
treea197fc41d011411d2eb739e560283df75bedb671
parentadffe4ab961113c5db8fee802f8e39b82a15d8e1
w1: mxc_w1: Fix mxc_w1_ds2_reset_bus() return value

This patch fix mxc_w1_ds2_reset_bus() return value.
According to i.MX reference manual, "presence status" reflected
in the bit 6 of control register.

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