gpu: host1x: Fix incorrect comment for channel_request
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 28 Sep 2017 12:50:43 +0000 (15:50 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Oct 2017 12:19:52 +0000 (14:19 +0200)
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>
drivers/gpu/host1x/channel.c

index db9b91d1384c1f669e5921e65405a08b0a18d182..2fb93c27c1d9dc05802f4509caf2f952b2db0e97 100644 (file)
@@ -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)