summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/channel.c
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2017-09-28 14:50:43 +0200
committerThierry Reding <treding@nvidia.com>2017-10-20 14:19:52 +0200
commit45bd862c2846414371bc9b5d31be7c5df252c289 (patch)
tree86f7d92eef4c0178eb0ab47df68e9ddbe7c8a1ec /drivers/gpu/host1x/channel.c
parentgpu: host1x: Disassemble more instructions (diff)
downloadlinux-45bd862c2846414371bc9b5d31be7c5df252c289.tar.xz
linux-45bd862c2846414371bc9b5d31be7c5df252c289.zip
gpu: host1x: Fix incorrect comment for channel_request
This function actually doesn't sleep in the version that was merged. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/channel.c')
-rw-r--r--drivers/gpu/host1x/channel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/host1x/channel.c b/drivers/gpu/host1x/channel.c
index db9b91d1384c..2fb93c27c1d9 100644
--- a/drivers/gpu/host1x/channel.c
+++ b/drivers/gpu/host1x/channel.c
@@ -128,8 +128,7 @@ static struct host1x_channel *acquire_unused_channel(struct host1x *host)
* host1x_channel_request() - Allocate a channel
* @device: Host1x unit this channel will be used to send commands to
*
- * Allocates a new host1x channel for @device. If there are no free channels,
- * this will sleep until one becomes available. May return NULL if CDMA
+ * Allocates a new host1x channel for @device. May return NULL if CDMA
* initialization fails.
*/
struct host1x_channel *host1x_channel_request(struct device *dev)