From 51056d61ec66124b236072ce9d28162ddecdcdcd Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Sun, 21 Sep 2014 18:55:21 +0100 Subject: [PATCH] mic-985xx: Remove SERIAL_NONBLOCK call. All calls in the driver are now explicitly (non)blocking. --- src/hardware/mic-985xx/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/mic-985xx/api.c b/src/hardware/mic-985xx/api.c index 8f9dd5cb..fa3534c4 100644 --- a/src/hardware/mic-985xx/api.c +++ b/src/hardware/mic-985xx/api.c @@ -71,7 +71,7 @@ static GSList *mic_scan(const char *conn, const char *serialcomm, int idx) if (!(serial = sr_serial_dev_inst_new(conn, serialcomm))) return NULL; - if (serial_open(serial, SERIAL_RDWR | SERIAL_NONBLOCK) != SR_OK) + if (serial_open(serial, SERIAL_RDWR) != SR_OK) return NULL; drvc = mic_devs[idx].di->priv;