summaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorHavard Skinnemoen <hskinnemoen@google.com>2011-12-09 16:51:54 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-09 19:33:48 -0800
commit99823f457d5994b3bd3775515578c8bfacc64b04 (patch)
treef27376fa4143a6cd9248ca2a52afe8dd8121572f /include/linux/usb
parent7bf01185c5e9ec19f739f7208646dc2e2cf1904b (diff)
downloadlinux-99823f457d5994b3bd3775515578c8bfacc64b04.tar.gz
linux-99823f457d5994b3bd3775515578c8bfacc64b04.tar.bz2
linux-99823f457d5994b3bd3775515578c8bfacc64b04.zip
usb: cdc-acm: Kill ACM_READY() macro completely
The ACM_READY() macro doesn't seem to do anything useful, and it may prevent tty_wait_until_sent() from working properly when called from close. Previously, acm_tty_chars_in_buffer() returned 0 whenever acm->port.count was 0. This means close() could return before all the data has actually been written. Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions