summaryrefslogtreecommitdiffstats
path: root/arch/mn10300
diff options
context:
space:
mode:
authorEugeniy Meshcheryakov2008-07-31 11:03:19 +0200
committerLinus Torvalds2008-08-01 21:50:15 +0200
commit3ab36ab68531ad90648fdeedcaf437f121572ede (patch)
tree9a61fb71173caff9fdf29a9d3f3626d5c0fa26ef /arch/mn10300
parentMerge branch 'kvm-updates-2.6.27' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-qcow2-linux-3ab36ab68531ad90648fdeedcaf437f121572ede.tar.gz
kernel-qcow2-linux-3ab36ab68531ad90648fdeedcaf437f121572ede.tar.xz
kernel-qcow2-linux-3ab36ab68531ad90648fdeedcaf437f121572ede.zip
try harder to load tty ldisc driver
Currently function tty_ldisc_get() tries to load an ldisc driver module only when tty_ldisc_try_get() returns -EAGAIN. This happens only if module is being unloaded. If ldisc module is not loaded tty_ldisc_try_get() returns -EINVAL and this case is not handled in tty_ldisc_get(), so request_module() is not called. Attached patch fixes this by calling request_module() if tty_ldisc_try_get() returned any error code. I discovered this when my UMTS modem stopped working with 2.6.27-rc1 because module ppp_async was not loaded. Signed-off-by: Eugeniy Meshcheryakov <eugen@debian.org> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions