cbus: handle possible errors on cbus_send/receive_bit
authorFelipe Balbi <felipe.balbi@nokia.com>
Tue, 27 Apr 2010 01:20:43 +0000 (18:20 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 3 Aug 2010 09:12:31 +0000 (12:12 +0300)
gpio_direction_input might fail and we have
to handle that possibility. While at that,
also add the device pointer to struct cbus_host
and use that for printing debugging messages and
make cbus_receive_bit return int.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>

No differences found