Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I
ipipe-ppc32
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Commits
  • xenomai
  • ipipe-ppc32
  • Repository

Switch branch/tag
  • ipipe-ppc32
  • drivers
  • gpio
  • gpio-msic.c
Find file BlameHistoryPermalink
  • Gustavo A. R. Silva's avatar
    gpio: msic: fix error return code in platform_msic_gpio_probe() · ca1f3ae3
    Gustavo A. R. Silva authored Aug 03, 2017
    platform_get_irq() returns an error code, but the gpio-msic driver
    ignores it and always returns -EINVAL. This is not correct, and
    prevents -EPROBE_DEFER from being propagated properly.
    
    Notice that platform_get_irq() no longer returns 0 on error:
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af
    
    Print and propagate the return value of platform_get_irq on failure.
    Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    ca1f3ae3
gpio-msic.c 8.32 KB
EditWeb IDE

Replace gpio-msic.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.