Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1838348ybb; Thu, 9 Apr 2020 09:56:20 -0700 (PDT) X-Google-Smtp-Source: APiQypLE/v4XNsUhxa8SkNnso01AZqJwBgoPEwcclqlDQaPqZ+BosfCzd1HxOz/eIeLnycQOVySg X-Received: by 2002:a37:5c44:: with SMTP id q65mr839789qkb.454.1586451380794; Thu, 09 Apr 2020 09:56:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586451380; cv=none; d=google.com; s=arc-20160816; b=TXh4z2oqpFXYbRq29dwvQClp4VXO7iX/bR+eBAccDFTey1FrDw62ZdE/hBe+2IpWQ5 Os5M/ng1vjVxEGkRy2yVxf6gbJ2Atj7CHhMYYNI/Nz7zY39iQ1QftxMRZGSaRzblthV4 j3i5dHyUQm4heI45lfDBkXm3x1/R6wH8EDnXIG/h/1hbxmjfVq8qp71h4+SpC320Vigb 7z3BJ/0kFL0bBWMjqvw+GwJ1C197H618CK890lSkNndCU6Qgy1oef4O4NVTDEbMAEray vR4/JvlmA0MyANRZXDa/+idMF8BDGo+VtO2VP8YDcbm48QHROvQpYG7qzA5l1lhQpzaY mlfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=clzy1dbE4dM3+sTXvQLGQ3bT7gyjD6WOWMoUygp0K10=; b=fWs6uwEDh1/bzB7RxdE6iy7itwCpG87UCfZpRj4Eo7Sg0BoUt+jrTvQ4GZIWN+55vn emBXe0ewJKAGBeUbfWTB92OxTibCf692AWqwpHyXU5Rj4EWKDMfIoob/cDiosh31M1Kc f3XcnY6g05S05jhZt9PoGQNxRvKj7hmL089iyHd95fj7xxUpSSKQeCeBiwqwwVyQ9ZAV UTCDPnqInsm5q6xBjJgFFp58lOJ0zeI6Q03HPPBBq15IcQ1MNcpTny9IQFE/5uR6vu2W iSFUYAWP63k6uZARkfSGZQn6sURX9FiimbOG6yk3auHKvanj6AgxUC/2GfJ/3sLuRnfw qVbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k27si5867490qta.354.2020.04.09.09.56.03; Thu, 09 Apr 2020 09:56:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728147AbgDIPUh (ORCPT + 99 others); Thu, 9 Apr 2020 11:20:37 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:37578 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727736AbgDIPUg (ORCPT ); Thu, 9 Apr 2020 11:20:36 -0400 Received: by mail-ed1-f68.google.com with SMTP id de14so181949edb.4; Thu, 09 Apr 2020 08:20:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=clzy1dbE4dM3+sTXvQLGQ3bT7gyjD6WOWMoUygp0K10=; b=drgWO+atC41zclomcunCM7dhMMA8QJFFJmVVjlrjKAb50VWcOOOxctudXXnG51Y4Ym uvAl34pbFg4hs9FNmdLGqHNKh1g6c880f0riDNk4xcr5Qv4eQY5P45RWBsTRciGuci75 cdSejPXhyvl5D/e/w/NDajAZXhTjQoVJYKnNc8q9c4Y/yKgrbDikX6iYAUT7k6vqudNz HyF9iJmV3nZZB+ymXUKlqQamorAngpVZBz0Q3/cfZZKEBc1sTHfeiFOh7K9s1VrR/DSN Q5nzRgubzhhzRUaweAucOdBpNWKQfk0Ncex4IU161whGR0SadqqznA0I6EEo1JuHc7Vl CXnA== X-Gm-Message-State: AGi0PuZhuVWvaxEiBUhluX5bv/OqVozwGh8la488RLStcmUrghy+Ik9D HRaGfrqFGt9ySV1Qk1WifRu5ywSQ52Y= X-Received: by 2002:aa7:da50:: with SMTP id w16mr559039eds.54.1586445634871; Thu, 09 Apr 2020 08:20:34 -0700 (PDT) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com. [209.85.221.45]) by smtp.gmail.com with ESMTPSA id ch5sm744313ejb.60.2020.04.09.08.20.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Apr 2020 08:20:34 -0700 (PDT) Received: by mail-wr1-f45.google.com with SMTP id s8so12342975wrt.7; Thu, 09 Apr 2020 08:20:34 -0700 (PDT) X-Received: by 2002:adf:ec02:: with SMTP id x2mr14639381wrn.365.1586445634028; Thu, 09 Apr 2020 08:20:34 -0700 (PDT) MIME-Version: 1.0 References: <20200317155906.31288-1-dev@pascalroeleven.nl> <20200317155906.31288-5-dev@pascalroeleven.nl> In-Reply-To: <20200317155906.31288-5-dev@pascalroeleven.nl> From: Chen-Yu Tsai Date: Thu, 9 Apr 2020 23:20:23 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH 4/4] pwm: sun4i: Delay after writing the period To: Pascal Roeleven Cc: Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Maxime Ripard , Philipp Zabel , linux-pwm@vger.kernel.org, linux-arm-kernel , linux-kernel , linux-sunxi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 18, 2020 at 12:00 AM Pascal Roeleven wrote: > > When disabling, ensure the period write is complete before continuing. > This fixes an issue on some devices when the write isn't complete before > the panel is turned off but the clock gate is still on. > > Signed-off-by: Pascal Roeleven Reviewed-by: Chen-Yu Tsai