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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99A14C433F5 for ; Tue, 19 Oct 2021 01:57:07 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 15F6660E09 for ; Tue, 19 Oct 2021 01:57:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 15F6660E09 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A2C2916AC; Tue, 19 Oct 2021 03:56:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A2C2916AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1634608623; bh=ck9pE+IT7YBQOm5maMK6Ma4JlKr31Xo7erV64qa5K8U=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gv4jt62TKAtctUy60QAv6VIdAuHHQqKsKSwP32hDPvFT/33VUmMr2qrznUajtvvPv FiuRfKUqiCHfG5By5Td2bRkvpyI0Cqj92mDRurgHTS9piFNdoMEsmqDRiU1GLvYPTR pnlpIYfeE/4ZOWZsk7U6tuZ0iOqyM4bs5MEbi6yk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0722CF80254; Tue, 19 Oct 2021 03:56:13 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 5B192F80256; Tue, 19 Oct 2021 03:55:52 +0200 (CEST) Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C8743F80082 for ; Tue, 19 Oct 2021 03:55:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C8743F80082 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="W/pHLIdz" Received: by mail-pl1-x62b.google.com with SMTP id y1so12557160plk.10 for ; Mon, 18 Oct 2021 18:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=iVUwTST59wL6CTCRNw7c8eNLL6H7oNA2+TgO4Oeu8Y4=; b=W/pHLIdze3XNKJnt2F32rIzoajoraz7WOisrfpL79CoLKpEItyajbals9z4qH0/hSQ MsMbtVPgHEyXF9d7a3xx9ECfUPdJy2y579OmnaB/tB6WBX95IiVCR6MxX9PSuBAbn7MO zQwq05oS1sNCrzecgb6ysYxc7pc6bK+svtWUvUhrpbhDZ122h2OXN8AKTGwoZgbMyZIL hXgo8COOAhx79wDodOe6szSc8QUFQXW8scUbjGoyrW00w73tAi5VfY3dILcOfKlh6I4u jWAGRpBMBv06AErvnMP6nGKhZm3GxVX1GvKqmzwPJ75AlkysLku9NnFOTcylYAAb+T+e v9TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iVUwTST59wL6CTCRNw7c8eNLL6H7oNA2+TgO4Oeu8Y4=; b=6+xldNCVeuzdoloWHWGU9b8jnkVPJ3HQYBiRBZvz0QhvSxDLX14IAZ6or94c547e1S eB7qtWVTnC9oUwu4DV/4gLLm4m5gxQXHdnY6Zd4KZA5iGTG9ukGmzUoz4seM2FUv6juN lG35DtjiW3rYbXmvQO5RFZKEEXUgqWpnFhA6Gaogfxp6BwJ8wn4+D3LDBS+C9VYGfPAB 1vkeG8t8xe6RCtPiIgjkqjTEDfA6AE+bvDVp1F4m0BRciR3eBUObGnwraOeWQmeD7dTV qJUJmqZsYQvkldP7UnDet+1mEmFqPBHsjI37t1JtIXQjVBz4TvXQt0+xAuW8gGBW8vA6 PkBQ== X-Gm-Message-State: AOAM533F+UaqYcJ4rZR+I/MvzmuBNFnvfetwXrFsX9hb7dr7Hhnt3IG3 k5EXPSB8dXzL+ywB/2bIpHk= X-Google-Smtp-Source: ABdhPJxOmf2YCoKcCsPO1gg9ffjbe92LAOAJFoagIEVGnqtsbTEoNeSqP8nBMw+HX1IC3RE1OOfYEg== X-Received: by 2002:a17:90a:3ec2:: with SMTP id k60mr3075137pjc.176.1634608543794; Mon, 18 Oct 2021 18:55:43 -0700 (PDT) Received: from google.com ([2620:15c:202:201:54f8:9d9:1fa7:9eae]) by smtp.gmail.com with ESMTPSA id oo9sm680504pjb.53.2021.10.18.18.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 18:55:42 -0700 (PDT) Date: Mon, 18 Oct 2021 18:55:40 -0700 From: Dmitry Torokhov To: Hans de Goede Subject: Re: [PATCH 3/3] Input: axp20x-pek - Use new soc_intel_is_cht() helper Message-ID: References: <20211018143324.296961-1-hdegoede@redhat.com> <20211018143324.296961-4-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211018143324.296961-4-hdegoede@redhat.com> Cc: Cezary Rojewski , alsa-devel@alsa-project.org, Pierre-Louis Bossart , Liam Girdwood , Mark Gross , Mark Brown , linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org, Andy Shevchenko X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Mon, Oct 18, 2021 at 04:33:24PM +0200, Hans de Goede wrote: > Use the new soc_intel_is_cht() helper to find out if we are running > on a CHT device rather then checking the ACPI _HRV field. > > This is more reliable (some CHT devices have been found where the _HRV > for the PMIC is 2 rather then 3) and leads to a nice cleanup. > > Signed-off-by: Hans de Goede Acked-by: Dmitry Torokhov Please feel free to merge with the rest of the patches. Thanks. -- Dmitry 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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05F64C433FE for ; Tue, 19 Oct 2021 01:55:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D135F61260 for ; Tue, 19 Oct 2021 01:55:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229677AbhJSB54 (ORCPT ); Mon, 18 Oct 2021 21:57:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbhJSB54 (ORCPT ); Mon, 18 Oct 2021 21:57:56 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 734D5C06161C; Mon, 18 Oct 2021 18:55:44 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id ls18-20020a17090b351200b001a00250584aso797902pjb.4; Mon, 18 Oct 2021 18:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=iVUwTST59wL6CTCRNw7c8eNLL6H7oNA2+TgO4Oeu8Y4=; b=W/pHLIdze3XNKJnt2F32rIzoajoraz7WOisrfpL79CoLKpEItyajbals9z4qH0/hSQ MsMbtVPgHEyXF9d7a3xx9ECfUPdJy2y579OmnaB/tB6WBX95IiVCR6MxX9PSuBAbn7MO zQwq05oS1sNCrzecgb6ysYxc7pc6bK+svtWUvUhrpbhDZ122h2OXN8AKTGwoZgbMyZIL hXgo8COOAhx79wDodOe6szSc8QUFQXW8scUbjGoyrW00w73tAi5VfY3dILcOfKlh6I4u jWAGRpBMBv06AErvnMP6nGKhZm3GxVX1GvKqmzwPJ75AlkysLku9NnFOTcylYAAb+T+e v9TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=iVUwTST59wL6CTCRNw7c8eNLL6H7oNA2+TgO4Oeu8Y4=; b=Vic9jXmOJy0nx5laFh2i9g7n3UlFi9D8GgVcciWQBn5NO+e9GrrfVA5WJZh6qaz5+5 sHjiaKZmKm5qAk/zE/Gx38actAc7NQ8cukD1i6uHAjr9pv6jMIGCnO9zLgsGgD/iu5tx 8TYeooVPwu83uUQqFf0CXpWNkUbwIf/hx11NHB8kKLskV+EBe2OeEqUfnRduFKWiYowe xGoXR8PbFpZ3jJd497ICTRthN4LhUxRSi4EY6mw0ijEB236vQ/AjW6Uvt4MJvTXfCZCE 4BuH7yGi/jGyc/0HTsuFPXUWa2IVFDHeziF1YnWWqaYbE+Dw82XXrEVtaEKce801tPRD 3l+A== X-Gm-Message-State: AOAM5301AZw7FThN7hmNgJ4IjiMGDG5901bOv3lLsWp1/vYIvmqt8Ok5 r67IpLyw8kcNlpG89t9LrvY= X-Google-Smtp-Source: ABdhPJxOmf2YCoKcCsPO1gg9ffjbe92LAOAJFoagIEVGnqtsbTEoNeSqP8nBMw+HX1IC3RE1OOfYEg== X-Received: by 2002:a17:90a:3ec2:: with SMTP id k60mr3075137pjc.176.1634608543794; Mon, 18 Oct 2021 18:55:43 -0700 (PDT) Received: from google.com ([2620:15c:202:201:54f8:9d9:1fa7:9eae]) by smtp.gmail.com with ESMTPSA id oo9sm680504pjb.53.2021.10.18.18.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 18:55:42 -0700 (PDT) Date: Mon, 18 Oct 2021 18:55:40 -0700 From: Dmitry Torokhov To: Hans de Goede Cc: Mark Gross , Andy Shevchenko , Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Mark Brown , linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 3/3] Input: axp20x-pek - Use new soc_intel_is_cht() helper Message-ID: References: <20211018143324.296961-1-hdegoede@redhat.com> <20211018143324.296961-4-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211018143324.296961-4-hdegoede@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Mon, Oct 18, 2021 at 04:33:24PM +0200, Hans de Goede wrote: > Use the new soc_intel_is_cht() helper to find out if we are running > on a CHT device rather then checking the ACPI _HRV field. > > This is more reliable (some CHT devices have been found where the _HRV > for the PMIC is 2 rather then 3) and leads to a nice cleanup. > > Signed-off-by: Hans de Goede Acked-by: Dmitry Torokhov Please feel free to merge with the rest of the patches. Thanks. -- Dmitry