OSDN Git Service

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)
commit2d17f460c5d79fa9fc794e813377f3276acf81ce
treebfc8100715b3fd1bc89ed92244ef1c4c7627f751
parent9d2ab99573970838108add835442a03e23f8577b
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