1. 20 Apr, 2021 1 commit
  2. 12 Apr, 2021 2 commits
  3. 07 Apr, 2021 3 commits
  4. 06 Apr, 2021 4 commits
  5. 31 Mar, 2021 18 commits
  6. 26 Mar, 2021 2 commits
    • Sergey Shtylyov's avatar
      pata_ipx4xx_cf: fix IRQ check · e379b40c
      Sergey Shtylyov authored
      The driver's probe() method is written as if platform_get_irq() returns 0
      on error, while actually it returns a negative error code (with all the
      other values considered valid IRQs).  Rewrite the driver's IRQ checking
      code to pass the positive IRQ #s to ata_host_activate(), propagate errors
      upstream, and treat IRQ0 as error, returning -EINVAL, as the libata code
      treats 0  as  an indication that polling should be used anyway...
      
      Fixes: 0df0d0a0 ("[libata] ARM: add ixp4xx PATA driver")
      Signed-off-by: default avatarSergey Shtylyov <s.shtylyov@omprussia.ru>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      e379b40c
    • Sergey Shtylyov's avatar
      pata_arasan_cf: fix IRQ check · c7e8f404
      Sergey Shtylyov authored
      The driver's probe() method is written as if platform_get_irq() returns 0
      on error, while actually it returns a negative error code (with all the
      other values considered valid IRQs). Rewrite the driver's IRQ checking code
      to pass the positive IRQ #s to ata_host_activate(), propagate upstream
      -EPROBE_DEFER, and set up the driver to polling mode on (negative) errors
      and IRQ0 (libata treats IRQ #0 as a polling mode anyway)...
      
      Fixes: a480167b ("pata_arasan_cf: Adding support for arasan compact flash host controller")
      Signed-off-by: default avatarSergey Shtylyov <s.shtylyov@omprussia.ru>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      c7e8f404
  7. 12 Mar, 2021 10 commits