From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] mmc: slot-gpio: Fix debounce time to use miliseconds again Date: Fri, 28 Sep 2018 09:30:11 -0700 Message-ID: <20180928163010.GR5659@atomide.com> References: <20180928122040.2221-1-m.szyprowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org To: Ulf Hansson Cc: Marek Szyprowski , "linux-mmc@vger.kernel.org" , linux-samsung-soc , Jaehoon Chung , Shawn Lin , Linus Walleij , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , "# 4.0+" List-Id: linux-mmc@vger.kernel.org * Ulf Hansson [180928 15:50]: > On 28 September 2018 at 14:20, Marek Szyprowski > wrote: > > The debounce value passed to mmc_gpiod_request_cd() function is in > > microseconds, but msecs_to_jiffies() requires the value to be in > > miliseconds to properly calculate the delay, so adjust the value stored > > in cd_debounce_delay_ms context entry. > > > > Fixes: 1d71926bbd59 ("mmc: core: Fix debounce time to use microseconds") > > Fixes: bfd694d5e21c ("mmc: core: Add tunable delay before detecting card > > after card is inserted") > > Cc: stable@vger.kernel.org # v4.18+ > > Signed-off-by: Marek Szyprowski > > Applied for fixes! Heh thanks for fixing it, looks like I totally missed that part :) Tony