Re: [RFC PATCHv5 4/7] HSI: hsi_char: Add HSI char device driver

2011-06-23 Thread Carlos Chinea
Hi, On Wed, 2011-06-22 at 21:37 +0200, ext Sjur Brændeland wrote: > Hi Carlos, > > ... > >+static ssize_t hsc_read(struct file *file, char __user *buf, size_t len, > >+loff_t *ppos __maybe_unused) > >+{ > ... > >+ret = hsi_async_read(channel->cl, ms

Re: [RFC PATCHv5 4/7] HSI: hsi_char: Add HSI char device driver

2011-06-22 Thread Sjur Brændeland
Hi Carlos, ... >+static ssize_t hsc_read(struct file *file, char __user *buf, size_t len, >+ loff_t *ppos __maybe_unused) >+{ ... >+ ret = hsi_async_read(channel->cl, msg); >+ >+ ret = wait_event_interruptible(channel->rx_wait, >+

[RFC PATCHv5 4/7] HSI: hsi_char: Add HSI char device driver

2011-06-10 Thread Carlos Chinea
From: Andras Domokos Add HSI char device driver to the kernel. Signed-off-by: Andras Domokos Signed-off-by: Carlos Chinea Cc: Alan Cox --- drivers/hsi/clients/hsi_char.c | 804 include/linux/hsi/hsi_char.h | 65 2 files changed, 869 insertio