On Thu, Oct 21, 2010 at 6:11 PM, Shibu Baby wrote:
> Hi All,
>
> From my virtual tty device, I am pushing data to the TTY layer as
> follows
>
> static int vs_rx_data(u8 *buf, int size, struct dev_info *dev)
> {
What kernel version are you using?
Care to post your whole tty driver?
And also,
Hi All,
>From my virtual tty device, I am pushing data to the TTY layer as
follows
static int vs_rx_data(u8 *buf, int size, struct dev_info *dev)
{
int ret_val = 0;
LOG_INFO("In vs_rx_data \n");
if(dev->vs_dev.tty == NULL)
{
LOG_ERR("tty is null!!\n");
return 0;