[ERD][APR-103] [COMMON]chub: use chrehal io
authorBoyoung <eric.by.kim@samsung.com>
Fri, 7 Dec 2018 12:58:07 +0000 (21:58 +0900)
committerhskang <hs1218.kang@samsung.com>
Sun, 21 Apr 2019 09:08:58 +0000 (18:08 +0900)
Change-Id: Ia99e73a31d98d4739efeac143a1cea34ae9a7f69
Signed-off-by: Boyoung <eric.by.kim@samsung.com>
drivers/staging/nanohub/main.c

index e6df06264490dee9a3dcfa7c2f0bdc7b448d09c7..dd626e6c87847673d9ff77dfe82916918015f766 100644 (file)
@@ -1477,10 +1477,8 @@ static void nanohub_process_buffer(struct nanohub_data *data,
        }
        if (event_id == APP_TO_HOST_EVENTID) {
                wakeup = true;
-#ifndef CONFIG_NANOHUB_MAILBOX
                /* chub doesn't enable nanohal. use sensorhal io */
                io = &data->io[ID_NANOHUB_COMMS];
-#endif
        }
 
        nanohub_io_put_buf(io, *buf);