cbus: handle possible errors on cbus_send/receive_bit
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 21 Dec 2009 22:58:14 +0000 (00:58 +0200)
committerFelipe Balbi <felipe.balbi@nokia.com>
Tue, 6 Apr 2010 14:49:22 +0000 (17:49 +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