From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D82C2C433DF for ; Mon, 12 Oct 2020 11:23:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C72420E65 for ; Mon, 12 Oct 2020 11:23:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602501814; bh=jdhiSa/uHBYzeEjlL6WbIoy8FQlJ0j0drF49kJlgass=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=QpaaRdgiQ9zIW+vFVGloGbEfFwygCwvOrRKVugXXq0Xhmys8BvZxPvMyslm7ZnApQ 9MyHV8uLjbyzVbEBrhHk/JzIO3OhELt1tDYw7UFtWLZeGzRjJ/bikO6412unUlx12v 3c0i19N4hOlBfmAAOG0D83Qm/IRnwSoASTgvMctk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388189AbgJLLXd (ORCPT ); Mon, 12 Oct 2020 07:23:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:52300 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387635AbgJLLXd (ORCPT ); Mon, 12 Oct 2020 07:23:33 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EB3DE2076E; Mon, 12 Oct 2020 11:23:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602501811; bh=jdhiSa/uHBYzeEjlL6WbIoy8FQlJ0j0drF49kJlgass=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XxqtEU3oOMkY3UYdnBtj4t2KBq88P1q3Sqr41dWKm6PbhT6ANUl+CbZcs78cn5sqJ wS4JJiu3qpvwW45Op0z6Xyv+KqRQH6Cwuk62vjLcvOn9sL3dMBDhRRYXXhjUBhqz3m 08u3jBB+cTBSqVamUsplw+vS7oPYZOS3qNrmm554= Date: Mon, 12 Oct 2020 13:24:10 +0200 From: Greg KH To: rickyniu Cc: balbi@kernel.org, astrachan@google.com, amit.pundir@linaro.org, lockwood@android.com, benoit@android.com, jackp@codeaurora.org, vvreddy@codeaurora.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, kyletso@google.com Subject: Re: [PATCH 1/3] ANDROID: usb: gadget: f_accessory: Add Android Accessory function Message-ID: <20201012112410.GB356911@kroah.com> References: <20201012111024.2259162-1-rickyniu@google.com> <20201012111024.2259162-2-rickyniu@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201012111024.2259162-2-rickyniu@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 12, 2020 at 07:10:22PM +0800, rickyniu wrote: > From: Benoit Goby > > USB accessory mode allows users to connect USB host hardware > specifically designed for Android-powered devices. The accessories > must adhere to the Android accessory protocol outlined in the > http://accessories.android.com documentation. This allows > Android devices that cannot act as a USB host to still interact with > USB hardware. When an Android device is in USB accessory mode, the > attached Android USB accessory acts as the host, provides power > to the USB bus, and enumerates connected devices. > > Signed-off-by: Mike Lockwood > [AmitP: Folded following android-4.9 commit changes into this patch > ceb2f0aac624 ("ANDROID: usb: gadget: accessory: Fix section mismatch") > Parts of e27543931009 ("ANDROID: usb: gadget: Fixes and hacks to make android usb gadget compile on 3.8") > 1b07ec751563 ("ANDROID: drivers: usb: gadget: 64-bit related type fixes")] > Signed-off-by: Amit Pundir > [astrachan: Folded the following changes into this patch: > 9d5891d516e2 ("ANDROID: usb: gadget: f_accessory: Add ACCESSORY_SET_AUDIO_MODE control request and ioctl") > dc66cfce9622 ("ANDROID: usb: gadget: f_accessory: Add support for HID input devices") > 5f1ac9c2871b ("ANDROID: usb: gadget: f_accessory: move userspace interface to uapi") > 9a6241722cd8 ("ANDROID: usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP) for acc_write") > 31a0ecd5a825 ("ANDROID: usb: gadget: f_accessory: check for accessory device before disconnecting HIDs") > 580721fa6cbc ("ANDROID: usb: gadget: f_accessory: Migrate to USB_FUNCTION API") > 7f407172fb28 ("ANDROID: usb: gadget: f_accessory: Fix for UsbAccessory clean unbind.") > ebc98ac5a22f ("ANDROID: usb: gadget: f_accessory: fix false disconnect due to a signal sent to the reading process") > 71c6dc5ffdab ("ANDROID: usb: gadget: f_accessory: assign no-op request complete callbacks") > 675047ee68e9 ("ANDROID: usb: gadget: f_accessory: Move gadget functions code") > b2bedaa5c7df ("CHROMIUM: usb: gadget: f_accessory: add .raw_request callback")] Those commit ids mean nothing to the linux kernel tree, right? Please fix up. greg k-h