]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
W1: ds2490.c ds_dump_status rework
authorDavid Fries <david@fries.net>
Thu, 16 Oct 2008 05:05:06 +0000 (22:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:51 +0000 (11:21 -0700)
commit4b9cf1bc329e626f3fa655370ee8cc156ab29a55
tree3747fda455bb14226daacdbad7acc7e80e8ebe4e
parent6e10f65427ed800ad1026dbf8064ca536ea98afc
W1: ds2490.c ds_dump_status rework

- add result register #defines
- rename ds_dump_status to ds_print_msg
- rename ds_recv_status to ds_dump_status
- ds_dump_status prints the requested status and no longer reads the
  status, this is because the second status read can return different
  data for example the result register
- the result register will be printed, though limited to detecting a
  new device, detecting other values such as a short would require
  additional reporting methods
- ST_EPOF was moved to ds_wait_status to clear the error condition
  sooner

Signed-off-by: David Fries <david@fries.net>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/w1/masters/ds2490.c