1. 28 Jan, 2015 1 commit
    • Akinobu Mita's avatar
      ata: ahci_platform: fix owner module reference mismatch for scsi host · 018d5ef2
      Akinobu Mita authored
      The owner module reference of the ahci platform's scsi_host is
      initialized to libahci_platform's one, because these drivers use a
      scsi_host_template defined in libahci_platform.  So these drivers can
      be unloaded even if the scsi device is being accessed.
      
      This fixes it by pushing the scsi_host_template from libahci_platform
      to all leaf drivers.  The scsi_host_template is passed through a new
      argument of ahci_platform_init_host().
      Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      Cc: Hans de Goede <hdegoede@redhat.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
      Cc: linux-ide@vger.kernel.org
      Cc: linux-scsi@vger.kernel.org
      018d5ef2
  2. 19 Jan, 2015 1 commit
    • Gregory CLEMENT's avatar
      ata: libahci: Allow using multiple regulators · c7d7ddee
      Gregory CLEMENT authored
      The current implementation of the libahci allows using multiple PHYs
      but not multiple regulators. This patch adds the support of multiple
      regulators. Until now it was mandatory to have a PHY under a subnode,
      now a port subnode can contain either a regulator or a PHY (or both).
      
      In order to be able to asociate a port with a regulator the port are
      now a platform device in the device tree case.
      
      There was only one driver which used directly the regulator field of
      the ahci_host_priv structure. To preserve the bisectability the change
      in the ahci_imx driver was done in the same patch.
      Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
      Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarTejun Heo <tj@kernel.org>
      c7d7ddee
  3. 16 Aug, 2014 1 commit
  4. 30 Jul, 2014 1 commit
  5. 14 May, 2014 1 commit
  6. 22 Feb, 2014 5 commits
  7. 08 Jan, 2012 1 commit
  8. 01 Aug, 2010 1 commit
  9. 14 May, 2010 1 commit