staging: dgnc: convert to wait_event_interruptible_timeout
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Mon, 8 Feb 2016 06:39:21 +0000 (06:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Feb 2016 03:51:46 +0000 (19:51 -0800)
commit127bf16602c47ed3c6b5ee619ac101316ea9b972
treea365cd6ac272d51d9e3fb01fce1e88e6f14354e3
parent210ba93a18c1192e92c3db7435b595c1fd00a510
staging: dgnc: convert to wait_event_interruptible_timeout

This patch makes use of wait_event_interruptible_timeout to achieve
timeout functionality.This is a TODO mentiond in the comment which is also
removed.It also aligns with what the function is supposed to do as in the
comments.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_neo.c