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=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 85975C352AA for ; Tue, 1 Oct 2019 14:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 53B1621906 for ; Tue, 1 Oct 2019 14:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569939401; bh=J9ed0KJmRZLdI0okBxc82Ypt6X45ISUClcmfQyIa8eQ=; h=Date:From:To:cc:Subject:In-Reply-To:References:List-ID:From; b=kKl2d9DNAgh1EzwUvNaQeWlH7s+zISVtwj6dP6/G4GZTvBzjltdl9X6wDLL8JDThO eFRXVFlooemnIAQXfk4f1x6mtqTqDKP5o8YHUi1UPKpaR/zYLyGqwWK5aSc00kUgsd XdIaRr6kbwjw4CNnkAm8sfRVCFUCePnKHpI0O1yE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388888AbfJAOQl (ORCPT ); Tue, 1 Oct 2019 10:16:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:60716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388825AbfJAOQk (ORCPT ); Tue, 1 Oct 2019 10:16:40 -0400 Received: from pobox.suse.cz (prg-ext-pat.suse.com [213.151.95.130]) (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 AF5CF2086A; Tue, 1 Oct 2019 14:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569939400; bh=J9ed0KJmRZLdI0okBxc82Ypt6X45ISUClcmfQyIa8eQ=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=td/yed3D8cE+/wFon8OrIygIUcF1RdDoL0ZCxVhvd3nTK7sAHcfZ+nmGAeH7n6W5+ Y4Pj26R3fXm7CXOBP9W5QSSDCAtaR3SJMLl/JhqN48E+T4eD1f7lSpcIMU8znWa+1u FYEAI3nzLnzccVQzf5fhvYSambBaaKPrcV3RrUug= Date: Tue, 1 Oct 2019 16:16:13 +0200 (CEST) From: Jiri Kosina To: Dmitry Torokhov cc: Nicolas Boichat , Benjamin Tissoires , Benson Leung , "open list:HID CORE LAYER" , lkml Subject: Re: [PATCH 1/3] HID: google: whiskers: more robust tablet mode detection In-Reply-To: Message-ID: References: <20190913220317.58289-1-dtor@chromium.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Sep 2019, Jiri Kosina wrote: > > > > The USB interface may get detected before the platform/EC one, so let's > > > > note the state of the base (if we receive event) and use it to correctly > > > > initialize the tablet mode switch state. > > > > > > > > Also let's start the HID interface immediately when probing, this will > > > > ensure that we correctly process "base folded" events that may be sent > > > > as we initialize the base. Note that this requires us to add a release() > > > > > > s/release/remove/ ? > > > > You are right. > > I'll fix that up when I am applying it (once 5.4 merge window is over). Now applied (with the fixup made). Thanks, -- Jiri Kosina SUSE Labs