1. Mar 14, 2014
    • Arnd Bergmann's avatar
      DAC960: remove sleep_on usage · 9c552e1d
      Arnd Bergmann authored
      
      
      sleep_on and its variants are going away. The use of sleep_on() in
      DAC960_V2_ExecuteUserCommand seems to be bogus because the command
      by the time we get there, the command has completed already and
      we just enter the timeout. Based on this interpretation, I concluded
      that we can replace it with a simple msleep(1000) and rearrange the
      code around it slightly.
      
      The interruptible_sleep_on_timeout in DAC960_gam_ioctl seems equivalent
      to the race-free version using wait_event_interruptible_timeout.
      I left the driver to return -EINTR rather than -ERESTARTSYS to preserve
      the timeout behavior.
      
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Jens Axboe <axboe@kernel.dk>
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      9c552e1d
    • Alexander Gordeev's avatar
      mtip32xx: Use pci_enable_msi() instead of pci_enable_msi_range() · c94efe36
      Alexander Gordeev authored
      
      
      Commit "mtip32xx: Use pci_enable_msix_range() instead of
      pci_enable_msix()" was unnecessary, since pci_enable_msi()
      function is not deprecated and is still preferable for
      enabling the single MSI mode. This update reverts usage of
      pci_enable_msi() function.
      
      Besides, the changelog for that commit was bogus, since
      mtip32xx driver uses MSI interrupt, not MSI-X.
      
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Asai Thambi S P <asamymuthupa@micron.com>
      Cc: linux-pci@vger.kernel.org
      
      Signed-off-by: default avatarJens Axboe <axboe@fb.com>
      c94efe36
  2. Feb 22, 2014
  3. Feb 17, 2014