From: sjoerd.simons@collabora.co.uk (Sjoerd Simons) Date: Wed, 08 Apr 2015 10:42:07 +0200 Subject: [PATCH 5/6] pwm: samsung: Fix output race on disabling 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> Message-ID: <1428482527.4333.50.camel@collabora.co.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.