Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1639316
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] gpio: aspeed: Don't attempt to debounce if disabled |
| Date | 2017-05-11 13:40 +0200 |
| Message-ID | <tFUBP-5JW-5@gated-at.bofh.it> (permalink) |
| References | <tCzax-2zn-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, May 2, 2017 at 8:08 AM, Joel Stanley <joel@jms.id.au> wrote: > We warn the user at driver probe time that debouncing is disabled. > However, if they request debouncing later on we print a confusing error > message: > > gpio_aspeed 1e780000.gpio: Failed to convert 5000us to cycles at 0Hz: -524 > > Instead bail out when the clock is not present. > > Fixes: 5ae4cb94b3133 (gpio: aspeed: Add debounce support) > Signed-off-by: Joel Stanley <joel@jms.id.au> Patch applied for fixes. Yours, Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] gpio: aspeed: Don't attempt to debounce if disabled Joel Stanley <joel@jms.id.au> - 2017-05-02 08:10 +0200 Re: [PATCH] gpio: aspeed: Don't attempt to debounce if disabled Linus Walleij <linus.walleij@linaro.org> - 2017-05-11 13:40 +0200
csiph-web