From cfa1f854b1a99b39f40464e966a78c63e5652807 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Mon, 26 Apr 2010 18:20:43 -0700 Subject: [PATCH] cbus: handle possible errors on cbus_send/receive_bit 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 --- Reading git-format-patch failed