summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2010-06-21 17:02:40 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-30 08:16:06 -0700
commit10ca4425714a6115c5d865718d64874a1e1ea09a (patch)
treeeac8a90e3b0b9436efe5c969510b22d2cdb657b5 /include/drm/ttm
parent1c815577823951ff082fe1201fdd5efec5e6e8ea (diff)
downloadblackbird-op-linux-10ca4425714a6115c5d865718d64874a1e1ea09a.tar.gz
blackbird-op-linux-10ca4425714a6115c5d865718d64874a1e1ea09a.zip
USB: gadget/printer, fix sleep inside atomic
Stanse found that sleep is called inside atomic context created by lock_printer_io spinlock in several functions. It's used in process context only and some functions sleep inside its critical section. As this is not allowed for spinlocks, switch it to mutex. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Craig W. Nadler <craig@nadler.us> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/drm/ttm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud