]> git.baikalelectronics.ru Git - kernel.git/commit
ata: ahci_platform: enable to get and control reset
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 22 Aug 2018 12:13:03 +0000 (21:13 +0900)
committerTejun Heo <tj@kernel.org>
Wed, 22 Aug 2018 15:08:28 +0000 (08:08 -0700)
commitcf18a1480be77881369693d8fb43613f9a1fd5c4
treebfc8100715b3fd1bc89ed92244ef1c4c7627f751
parente21e6ce9a68f612af313f78a5f440627f6b1e24f
ata: ahci_platform: enable to get and control reset

Unlike SoC-specific driver, generic ahci_platform driver doesn't
have any chances to control resets.

This adds AHCI_PLATFORM_GET_RESETS to ahci_platform_get_resources()
on the generic driver to enable reset control support.

Suggested-by: Hans de Goede <hdegoede@redhat.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_platform.c