Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4768702imu; Tue, 29 Jan 2019 07:13:42 -0800 (PST) X-Google-Smtp-Source: ALg8bN5fqaW6I9mRfXHe8nRNLFGTS0Cas4bvH8n9KexeXEOy5u5eOPaRnoCDI+E/crPXNeUN+Ail X-Received: by 2002:a62:8d4f:: with SMTP id z76mr27370375pfd.2.1548774822018; Tue, 29 Jan 2019 07:13:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548774821; cv=none; d=google.com; s=arc-20160816; b=bhPq8EmkMmR5PQ3iX97thOBFaOznw1mLWncmteHo4VCgfVlVgYbY6cFRALn4m5KBsb o5AJBkH+KRmaNYcI/AzacfYkMqMIh+w1C4ew2W+PzqkGN3KgI4BbspHvMOQeZSr1uwke kWOIEObc72biJKfnC0Al/x3ehLHbBQvuDLSDLuOKDOrnZG/wsnJ05Eszd26McJApWkqf SlG85wwy6wKO9Spy+5oLrQQOICHRDmnfZkCcXeYByEhkUZBK6qof9pJ7e3at1FdHoovO 4YIV1BRSjcD//p0Q9jh1ChU/MJAnOZwgUW1RxzDz6BnSOALPVEg3p7oBzbxylcPaWla1 To2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=dDs8YTFOtm69N/yeV4sd4asfIARPpT0HetEER5DB1pI=; b=f42SsbQoiOu8UpmCEFpprs0tpaBTOxzjYm0RfXIf4KX86zek6D6xtR8k47nZqXmzp7 omN3ndQnKb6TreN9hRAwPpgAt+er5J6r/AbTG/qv5ua+FnYHjz7sdUAImhG1sjZEACwj v3xydD8IiGniWbuQGnCJimZz/+BB2nbWvHmCEUk/nobwOpdRO5PATDe7+GjGRqp1kcz5 McCpimK9qF+/tOuCXjisFTdr3D/w+YaU6A9dwUGJxiMv6Mk2tb5IbTUzEOdnLKdWhqmZ bE8oPuNQo+vZ7c7YTJjUQYN/kPEwcQHlcdD6TX3KsO2DtY3FE1FYq0QxhciV395qqYJU Uu1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r2si35616257pgk.389.2019.01.29.07.13.26; Tue, 29 Jan 2019 07:13:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728339AbfA2PMz (ORCPT + 99 others); Tue, 29 Jan 2019 10:12:55 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:35654 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727059AbfA2PMy (ORCPT ); Tue, 29 Jan 2019 10:12:54 -0500 Received: from marcel-macpro.fritz.box (p4FF9FD60.dip0.t-ipconnect.de [79.249.253.96]) by mail.holtmann.org (Postfix) with ESMTPSA id 154F7CF2C3; Tue, 29 Jan 2019 16:20:42 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH] Bluetooth: btusb: btusb_intel_cmd_timeout: use sleeping functions From: Marcel Holtmann In-Reply-To: <20190128230809.173975-1-rajatja@google.com> Date: Tue, 29 Jan 2019 16:12:52 +0100 Cc: Johan Hedberg , Dmitry Torokhov , Bluez mailing list , Linux Kernel Mailing List , rajatxjain@gmail.com, dtor@google.com Content-Transfer-Encoding: 7bit Message-Id: <6C7BB33E-760F-47E3-8B7D-1F0F58CD2FBE@holtmann.org> References: <20190128230809.173975-1-rajatja@google.com> To: Rajat Jain X-Mailer: Apple Mail (2.3445.102.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rajat, > The btusb_intel_cmd_timeout() is called from workqueue contexts, > so use the helper functions that can sleep. > > Signed-off-by: Rajat Jain patch has been applied to bluetooth-next tree. Regards Marcel