Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2348455rwo; Sun, 23 Jul 2023 13:09:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlFS/PlWsK9oLHwUw0qQj1LS1IJcE7nO/xB6/fL8fQbyBdTBJWHWOaznUv9aTVkvfMJo3o/I X-Received: by 2002:a17:903:110c:b0:1b8:525a:f685 with SMTP id n12-20020a170903110c00b001b8525af685mr6240430plh.37.1690142948293; Sun, 23 Jul 2023 13:09:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690142948; cv=none; d=google.com; s=arc-20160816; b=fMquSLuQXKOqwzExMwn3n9p3fBB3gst0MgfJol+0OIZTImPNDDbwKzGYBXRkTAdU+n sMvcUd5s1JBIuddG8s5yDLywRNfMNQBWL/WjOjmxM3ATtNobm27ysQ2RprBcQAcYDxjP SwrMXM5IyeaknCBp3G3iWRnN8N6W2FjHUVm/0UycFskpGJ4edjiFU9oUEXsb3h7ux8TZ cx1MjO2xU6RvntnMd4CmbQnQHnCcqdPlBZIxWJFZ9y3ykHw2VIr5u7bCQrwbg8vL0JXw dHixn1Jcv4ZcD1Cd2Ni/oJSI9NdX61hTU/m+ZrxEWjJiCUdzHhCOQtUBUIMm78zZhRdH WYqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ay3/eaFB0phovm13Qd1bOLsG3Es2DyLvGejXTaS4q4U=; fh=x7XLI3xNuTdaZSHNvDmgs4ugn2Yhnx1FL5EozUXELas=; b=0NRZh1PCcrJQhb09+MIPsIOmUu1YPRbZM8rhUTATTIY/xFKeJxePaFrmgg/rNANb2B Il0Nf2NDm79h1xlgA5CodesnNU13j7KOjwKfpKgB6mLnjWgtKNmPpyjKA7veA5/g8B/A FJlvzMU99C7sHAhXm1Qx980flgsQTtwTDpRcYTNF7K54WYO7NRis/IuhbIUVkx282sdk fglq5cuDkeHTPTlX16YtatFn0+4S2Lde9dvqZPuwaAxuY9/tY8vdu5ZZ6s7Uq3/Lr+zY ngvQDsq/28L21CKzaKBGF4QprYm6fzDzKkdurCW7mV6iUp6A+kfAx6dsMzjA9ghuAthw QMrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HAxlucnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a170902d2c800b001bb9375b349si2788571plc.536.2023.07.23.13.08.56; Sun, 23 Jul 2023 13:09:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HAxlucnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbjGWTmL (ORCPT + 99 others); Sun, 23 Jul 2023 15:42:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjGWTmK (ORCPT ); Sun, 23 Jul 2023 15:42:10 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C45EEAD for ; Sun, 23 Jul 2023 12:42:08 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-d07c535377fso1679883276.1 for ; Sun, 23 Jul 2023 12:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690141328; x=1690746128; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ay3/eaFB0phovm13Qd1bOLsG3Es2DyLvGejXTaS4q4U=; b=HAxlucnKdeO4JPoSpkgIKQGB9tRnSd4Sqyg/N8IwICd7sWf3K7AZGX3wNsd+AikBKN AiGEXIGP5ukBjOcayTV5ty3t5fQsDANnEqi3NFM6pNzkYdWcxpsJZbVbv0hIn3AQjuNZ qg+nuONbgEPG6yZdQVAPMHdxfhr0STqkZxOhhZ6d/ccfPPDI2oRafVeGYlsfSquhptkx mM7q/lBj4ndCETwEh7iZKFD6jYQ8/Az9G1QIavKtoA7hZq05pr6V1wysSdylsJtwuUJl 9TawfkH0oCVHqL3DtflQ+pIc+T/134U37iNvEsD5cUwJzQSNaywaJO/jumg1vjugbqxP IiYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690141328; x=1690746128; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ay3/eaFB0phovm13Qd1bOLsG3Es2DyLvGejXTaS4q4U=; b=JfsSQOjEPVWBaBDEs8zKM1Etsao/IPe+0ZalyGCZ0o6DZW7ZZxyYr+yNwSDtO4gWh4 Te/YjWCbptgaLZ2bP22FKEiY7ZwODE+GvrjRNu1mTXz6GReCnGrXnH/CoZeycNABXh0W 0h6Z1KaBA/VPlj+AwUsKFxJROlgUK9wEasJSgtjNTjkaYjhBywW87ilbzCOyAfdfEo1o L137bLPy5X7Z5KJDAXmqo/GfjdUjdyKWpeIq6cJhHpJsnZu7AHArEM0kYT/MxdkW+e/5 r5uDrKPrZwixx3jpUE5UvFuQuv6HA36902eAJ2UIUHTlE2YOtUmjyY1quMETgA3BH4T6 r+pw== X-Gm-Message-State: ABy/qLY6fbd66KMLPBKUdvYtSSBz8lIYBgMuAz2ghmc1l9w37T9oukkG 3SGe8ykS0vGpryQ0nsSCpVW55m0SaQLTaXAcVh5y1g== X-Received: by 2002:a25:1503:0:b0:c8d:1b31:62fb with SMTP id 3-20020a251503000000b00c8d1b3162fbmr4928906ybv.26.1690141326525; Sun, 23 Jul 2023 12:42:06 -0700 (PDT) MIME-Version: 1.0 References: <20230717201652.17168-1-mario.limonciello@amd.com> In-Reply-To: <20230717201652.17168-1-mario.limonciello@amd.com> From: Linus Walleij Date: Sun, 23 Jul 2023 21:41:55 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: amd: Don't show `Invalid config param` errors To: Mario Limonciello Cc: Basavaraj.Natikar@amd.com, Shyam-sundar.S-k@amd.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 17, 2023 at 10:17=E2=80=AFPM Mario Limonciello wrote: > On some systems amd_pinconf_set() is called with parameters > 0x8 (PIN_CONFIG_DRIVE_PUSH_PULL) or 0x14 (PIN_CONFIG_PERSIST_STATE) > which are not supported by pinctrl-amd. > > Don't show an err message when called with an invalid parameter, > downgrade this to debug instead. > > Cc: stable@vger.kernel.org # 6.1 > Fixes: 635a750d958e1 ("pinctrl: amd: Use amd_pinconf_set() for all config= options") > Signed-off-by: Mario Limonciello Applied for nonurgent fixes. Yours, Linus Walleij