staging: dgnc: Fix sleeping under spinlock bug
authorKonrad Zapalowicz <bergo.torino+kernel@gmail.com>
Sun, 31 Aug 2014 20:42:15 +0000 (22:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Sep 2014 17:44:33 +0000 (10:44 -0700)
commit239d1346f5f77135e272eee0c33cfa3e52fc4e1c
treefc67389ce6fc0c8030c655f1dd9a77e5342b6a87
parentfdaef43dca4d9ebc4c560c6f53f54197b0167d92
staging: dgnc: Fix sleeping under spinlock bug

This commit changes the memory allocation flags to ATOMIC in order to
avoid sleeping in the nowait/nolock code.

Signed-off-by: Konrad Zapalowicz <bergo.torino+kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c