Received: by 2002:a05:6520:3645:b029:c0:f950:43e0 with SMTP id l5csp6293364lki; Thu, 4 Mar 2021 09:24:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVpVcw9cLCtl5QNAb37vzgo9Hq9N5hEa14ezjaMlmtxTpTMP/OmoVHAq6BHy18g+VNJbY4 X-Received: by 2002:a17:906:ac6:: with SMTP id z6mr5264494ejf.505.1614878687717; Thu, 04 Mar 2021 09:24:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614878687; cv=none; d=google.com; s=arc-20160816; b=UUofePHqZCMWqLd76uTNzFMzSNt/W2p2lbAVFz/fjx2+fb6MghD4oUq5DIoRPIbAzu QTKjjUxIvsYM0F3nyjsG+BmO6cXxEkKxAbSXd5UNsr7n2sijhEvyuG5RE2eeWLRrFsCI uB8/xs3ZaQnVuEHcKaJqSUeRZRe668iZr8mXuh7k9POrwpAYOkC0JQd00IGwSmUCV+tN aNybLVq5VEHaoCJt5NCOjFhSyOwtVt2iQHD+NaAx5qTHNn0nsmPqnpIPWqKQRmGOhGD0 b0EeIet4b92ObMGEbi/L5BzoLfL0Cb50Dm54xZSrKyaUx53hKRgMW9vTT7jI8hYPr6R5 BF0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UBm3BsLarYKigyPuOUZYg4A+DBbZVtMrUvRlGDw64oY=; b=iYfeDrrKnezNskUAYT6UHs/Ex4A6Jm7eZZw+O/FiytP7rwNVxbvxH+JV5v3tQ/RSeZ FZBDvp4HbK+zbBzkHpUZT5O0AF8S5FcBnjcotebYsjiT/F74wuWQNdOlUFyJKkmD2zwq nWf9BtkaD9hX0pTyaqMmgyZPjVcRobuF8oCiV3qKdKJ/frG05+FSPWCxozcqyGraE8eE SIBBkuwHu/Bkx+OobzeYNnHmyMBf0xOtChkb1JV32ckzqLY3AqVHr5gFNKPqcfhvCbAy xbvQRrBkNsSbZz7894wVIQiW1yl5rCJ3/6DUou8oOgxeZ0ua58REoxwuVXUtNo1XEVHa oDxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pqgruber.com header.s=mail header.b=XIoLx4vw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=pqgruber.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w1si18000edt.272.2021.03.04.09.24.24; Thu, 04 Mar 2021 09:24:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@pqgruber.com header.s=mail header.b=XIoLx4vw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=pqgruber.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241184AbhCDNMx (ORCPT + 99 others); Thu, 4 Mar 2021 08:12:53 -0500 Received: from mail.pqgruber.com ([52.59.78.55]:39500 "EHLO mail.pqgruber.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241172AbhCDNMs (ORCPT ); Thu, 4 Mar 2021 08:12:48 -0500 Received: from workstation.tuxnet (213-47-165-233.cable.dynamic.surfer.at [213.47.165.233]) by mail.pqgruber.com (Postfix) with ESMTPSA id 9EAC6C72819; Thu, 4 Mar 2021 14:12:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pqgruber.com; s=mail; t=1614863525; bh=UBm3BsLarYKigyPuOUZYg4A+DBbZVtMrUvRlGDw64oY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XIoLx4vwL50rbP6ijOM0qasc9dgPFZy3B/N9+bdStlW//aMy62yksZjodMJZ4OP4D Ufe7Ld42mGMr8rG5XuKK1TsjG5xh5O2CJ1p8IGiKl21/ffNyR9/XYfjHf00otq9C1u xCDrMTQSax239vZ3gxKdxWluhs1eBoW0WypTML9U= Date: Thu, 4 Mar 2021 14:12:04 +0100 From: Clemens Gruber To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: linux-pwm@vger.kernel.org, Thierry Reding , Sven Van Asbroeck , Lee Jones , linux-kernel@vger.kernel.org, Mika Westerberg , David Jander Subject: Re: [PATCH v5 1/7] pwm: pca9685: Switch to atomic API Message-ID: References: <20201215212228.185517-1-clemens.gruber@pqgruber.com> <20210301214407.4xitetvqbsdoer6w@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210301214407.4xitetvqbsdoer6w@pengutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Uwe, On Mon, Mar 01, 2021 at 10:44:07PM +0100, Uwe Kleine-K?nig wrote: > Hello Clemens, > > On Tue, Dec 15, 2020 at 10:22:22PM +0100, Clemens Gruber wrote: > > + if (state->polarity != PWM_POLARITY_NORMAL) > > + return -EOPNOTSUPP; > > We agreed on -EINVAL for that one since 2b1c1a5d5148. > > Other than that the patch looks ok (but note I only looked quickly). Thanks for looking over it. This will be -EINVAL in the next revision. Best regards, Clemens