Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753495AbbDHImP (ORCPT ); Wed, 8 Apr 2015 04:42:15 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:54868 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752984AbbDHImM convert rfc822-to-8bit (ORCPT ); Wed, 8 Apr 2015 04:42:12 -0400 Message-ID: <1428482527.4333.50.camel@collabora.co.uk> Subject: Re: [PATCH 5/6] pwm: samsung: Fix output race on disabling From: Sjoerd Simons To: Lukasz Majewski Cc: Anand Moon , Eduardo Valentin , Russell King , Kukjin Kim , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org Date: Wed, 08 Apr 2015 10:42:07 +0200 In-Reply-To: <20150408102811.219b964f@amdc2363> References: <1427387955-5129-1-git-send-email-linux.amoon@gmail.com> <1427387955-5129-6-git-send-email-linux.amoon@gmail.com> <20150408102811.219b964f@amdc2363> Organization: Collabora Ltd. Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 24 On Wed, 2015-04-08 at 10:28 +0200, Lukasz Majewski wrote: > Hi Anand, > > > From: Sjoerd Simons > > When disabling the samsung PWM the output state remains at the level > > it was in the end of a pwm cycle. In other words, calling pwm_disable > > when at 100% duty will keep the output active, while at all other > > setting the output will go/stay inactive. On top of that the samsung > > PWM settings are double-buffered, which means the new settings only > > get applied at the start of a new PWM cycle. This patch is already in the linux-pwm for-next tree so should probably be dropped form this patchset to prevent conflicts. -- Sjoerd Simons Collabora Ltd. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/