diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2015-11-30 04:17:31 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-12-11 14:04:44 +1000 |
commit | 9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e (patch) | |
tree | 99f265dbc7b9ee58dfa5c0a9e2161e2d787a794d /drivers/mfd/da9055-i2c.c | |
parent | 49307da31be5708bb0b9926efb35dd74d946ab0c (diff) | |
download | talos-obmc-linux-9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e.tar.gz talos-obmc-linux-9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e.zip |
vgaarb: fix signal handling in vga_get()
There are few defects in vga_get() related to signal hadning:
- we shouldn't check for pending signals for TASK_UNINTERRUPTIBLE
case;
- if we found pending signal we must remove ourself from wait queue
and change task state back to running;
- -ERESTARTSYS is more appropriate, I guess.
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Cc: stable@vger.kernel.org
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/mfd/da9055-i2c.c')
0 files changed, 0 insertions, 0 deletions