20 Oct, 2014

1 commit


05 Oct, 2014

1 commit


10 May, 2014

1 commit

  • This patch fixes host drivers to use CONFIG_PM_SLEEP instead of CONFIG_PM
    where applicable. Benefits of this change:

    * unused code is not being compiled in for CONFIG_PM=y, CONFIG_PM_SLEEP=n
    and CONFIG_PM_RUNTIME=y configurations

    * easier transition to use struct dev_pm_ops and SIMPLE_DEV_PM_OPS() in
    the future

    * more consistent code (there are host drivers which are using the correct
    CONFIG_PM_SLEEP checks already)

    The patch leaves the core libata code and ->port_[suspend,resume] support
    in sata_[inic162x,nv,sil24].c alone for now.

    Signed-off-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Tejun Heo

    Bartlomiej Zolnierkiewicz
     

01 Apr, 2014

1 commit

  • Pull libata updates from Tejun Heo:
    "A lot of activities on libata side this time.

    - A lot of changes around ahci. Various embedded platforms are
    implementing ahci controllers. Some were built atop ahci_platform,
    others were doing their own things. Hans made some structural
    changes to libahci and librarized ahci_platform so that ahci
    platform drivers can share more common code. A couple platform
    drivers are added on top of that and several are added to replace
    older drivers which were doing their own things (older ones are
    scheduled to be removed).

    - Dan finishes the patchset to make libata PM operations
    asynchronous. Combined with one patch being routed through scsi,
    this should speed resume measurably.

    - Various fixes and cleanups from Bartlomiej and others"

    * 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata: (61 commits)
    ata: fix Marvell SATA driver dependencies
    ata: fix ARASAN CompactFlash PATA driver dependencies
    ata: remove superfluous casts
    ata: sata_highbank: remove superfluous cast
    ata: fix Calxeda Highbank SATA driver dependencies
    ata: fix R-Car SATA driver dependencies
    ARM: davinci: da850: update SATA AHCI support
    ata: add new-style AHCI platform driver for DaVinci DA850 AHCI controller
    ata: move library code from ahci_platform.c to libahci_platform.c
    ata: ahci_platform: fix ahci_platform_data->suspend method handling
    libata: remove unused ata_sas_port_async_resume() stub
    libata.h: add stub for ata_sas_port_resume
    libata: async resume
    libata, libsas: kill pm_result and related cleanup
    ata: Fix compiler warning with APM X-Gene host controller driver
    arm64: Add APM X-Gene SoC AHCI SATA host controller DTS entries
    ata: Add APM X-Gene SoC AHCI SATA host controller driver
    Documentation: Add documentation for the APM X-Gene SoC SATA host controller DTS binding
    arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries
    ata: ahci_sunxi: fix code formatting
    ...

    Linus Torvalds
     

15 Mar, 2014

1 commit


19 Feb, 2014

2 commits


14 Feb, 2014

1 commit


30 Jan, 2014

1 commit


30 Jul, 2013

1 commit


24 May, 2013

1 commit

  • Use the wrapper functions for getting and setting the driver data using
    platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
    so we can directly pass a struct platform_device.

    Also, unnecessary dev_set_drvdata() is removed, because the driver core
    clears the driver data to NULL after device_release or on probe failure.

    Signed-off-by: Jingoo Han
    Signed-off-by: Tejun Heo

    Jingoo Han
     

12 Apr, 2013

4 commits


04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Jeff Garzik
    Cc: Viresh Kumar
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

14 Dec, 2012

1 commit


26 Jul, 2012

1 commit


09 Jan, 2012

1 commit

  • This patch converts the drivers in drivers/ata/* to use the
    module_platform_driver() macro which makes the code smaller and a bit
    simpler.

    Cc: Viresh Kumar
    Cc: Jeff Garzik
    Cc: Arnaud Patard
    Cc: Alessandro Zummo
    Cc: Sylvain Munaut
    Cc: Anton Vorontsov
    Cc: Marek Vasut
    Cc: Florian Fainelli
    Cc: Mark Miesfeld
    Cc: Ashish Kalra
    Cc: Paul Mundt
    Signed-off-by: Axel Lin
    Signed-off-by: Jeff Garzik

    Axel Lin
     

19 Aug, 2011

1 commit

  • Add basic support for pata on iMX. It has been tested only on imx51.
    SDMA support will probably be added later so this version supports only
    PIO.

    v2:
    - enable only when needed IORDY
    - use dev_get_drvdata
    v3:
    - add missing clk_put() calls
    - use platform_get_irq()
    - fix resume code to avoid disabling IORDY on resume
    v4:
    - Remove EXPERIMENTAL and switch to depends on ARCH_MXC
    - Use devm_kzalloc()
    - make clock a must-have
    - Use only 1 ioremap

    Signed-off-by: Arnaud Patard
    Signed-off-by: Jeff Garzik

    Arnaud Patard (Rtp)