OSDN Git Service

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 db9b91d..2fb93c2 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)