Hans de Goede
23b07d4cb3
ahci-platform: "Library-ise" ahci_probe functionality
...
ahci_probe consists of 3 steps:
1) Get resources (get mmio, clks, regulator)
2) Enable resources, handled by ahci_platform_enable_resouces
3) The more or less standard ahci-host controller init sequence
This commit refactors step 1 and 3 into separate functions, so the platform
drivers for AHCI implementations which need a specific order in step 2,
and / or need to do some custom register poking at some time, can re-use
ahci-platform.c code without needing to copy and paste it.
Note that ahci_platform_init_host's prototype takes the 3 non function
members of ahci_platform_data as arguments, the idea is that drivers using
the new exported utility functions will not use ahci_platform_data at all,
and hopefully in the future ahci_platform_data can go away entirely.
tj: Minor comment formatting updates.
Signed-off-by: Hans de Goede <hdegoede@redhat.com >
Signed-off-by: Tejun Heo <tj@kernel.org >
2014-02-22 15:35:42 -05:00
..
2014-02-13 16:40:56 -05:00
2013-12-12 10:59:09 -05:00
2014-02-22 15:35:42 -05:00
2014-02-22 15:35:41 -05:00
2014-02-22 15:35:42 -05:00
2014-02-13 16:40:56 -05:00
2013-10-13 16:17:48 -04:00
2014-02-18 18:26:43 -05:00
2014-02-22 15:35:41 -05:00
2013-12-07 01:05:49 +01:00
2014-01-16 09:49:10 -05:00
2013-11-22 17:21:10 -05:00
2013-08-19 09:38:21 -04:00
2014-01-21 18:16:08 -08:00
2013-05-14 11:13:04 -07:00
2013-10-27 07:43:25 -04:00
2010-10-21 20:21:03 -04:00
2013-11-23 08:37:10 -05:00
2013-10-17 15:38:53 +02:00
2013-07-24 12:29:08 -04:00
2014-02-13 16:40:56 -05:00
2013-06-02 22:22:03 -07:00
2014-02-13 16:40:56 -05:00
2013-11-22 17:38:31 -05:00
2014-02-13 16:40:56 -05:00
2013-07-30 08:59:24 -04:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-05-24 10:26:13 +09:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-01-03 15:57:03 -08:00
2014-02-18 17:39:54 -05:00
2013-10-07 15:17:32 -04:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-10-31 14:49:07 +00:00
2014-02-13 16:40:56 -05:00
2013-04-03 19:53:10 -04:00
2013-06-02 22:22:03 -07:00
2014-02-13 16:40:56 -05:00
2013-05-24 10:26:13 +09:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-10-31 14:48:49 +00:00
2013-01-03 15:57:03 -08:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-01-03 15:57:03 -08:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-01-03 15:57:03 -08:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-01-12 06:56:04 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-10-09 20:04:04 -05:00
2014-02-22 15:35:41 -05:00
2013-07-22 17:11:14 -04:00
2014-01-20 07:46:15 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2013-11-29 15:41:17 -05:00
2013-06-02 22:22:03 -07:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00
2014-02-13 16:40:56 -05:00