Noticed this while looking at Savoy's stuffI agree, it will be a problem if the underlying driver try to access the "struct file". Is there any other way I can get the MCR status here without providing user space pointer?
ath_wakeup_ar3k:
int status = tty->driver->ops->tiocmget(tty, NULL);
Regards
Fortunately I looked further and the further I looked the more fun it gets
in hci_uart we have
len = tty->ops->write(tty, skb->data, skb->len);