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, 28 Sep 2010 19:02:02 +0000 (12:02 -0700)
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