aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-06mm: vmscan: do not keep kswapd looping forever due to individual ↵Johannes Weiner1-16/+0
uncompactable zones When a zone meets its high watermark and is compactable in case of higher order allocations, it contributes to the percentage of the node's memory that is considered balanced. This requirement, that a node be only partially balanced, came about when kswapd was desparately trying to balance tiny zones when all bigger zones in the node had plenty of free memory. Arguably, the same should apply to compaction: if a significant part of the node is balanced enough to run compaction, do not get hung up on that tiny zone that might never get in shape. When the compaction logic in kswapd is reached, we know that at least 25% of the node's memory is balanced properly for compaction (see zone_balanced and pgdat_balanced). Remove the individual zone checks that restart the kswapd cycle. Otherwise, we may observe more endless looping in kswapd where the compaction code loops back to reclaim because of a single zone and reclaim does nothing because the node is considered balanced overall. See for example https://bugzilla.redhat.com/show_bug.cgi?id=866988 Signed-off-by: Johannes Weiner <[email protected]> Reported-and-tested-by: Thorsten Leemhuis <[email protected]> Reported-by: Jiri Slaby <[email protected]> Tested-by: John Ellson <[email protected]> Tested-by: Zdenek Kabelac <[email protected]> Tested-by: Bruno Wolff III <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2012-12-06mm: compaction: validate pfn range passed to isolate_freepages_blockMel Gorman1-1/+9
Commit 0bf380bc70ec ("mm: compaction: check pfn_valid when entering a new MAX_ORDER_NR_PAGES block during isolation for migration") added a check for pfn_valid() when isolating pages for migration as the scanner does not necessarily start pageblock-aligned. Since commit c89511ab2f8f ("mm: compaction: Restart compaction from near where it left off"), the free scanner has the same problem. This patch makes sure that the pfn range passed to isolate_freepages_block() is within the same block so that pfn_valid() checks are unnecessary. In answer to Henrik's wondering why others have not reported this: reproducing this requires a large enough hole with the right aligment to have compaction walk into a PFN range with no memmap. Size and alignment depends in the memory model - 4M for FLATMEM and 128M for SPARSEMEM on x86. It needs a "lucky" machine. Reported-by: Henrik Rydberg <[email protected]> Signed-off-by: Mel Gorman <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2012-12-06mmc: sdhci-pci: Enable SDHCI_CAN_DO_HISPD for Ricoh SDHCI controllerMadhvapathi Sriram1-0/+1
The Ricoh SDHCI controllers support Highspeed clocks as evident from the ricoh_mmc_probe_slot() settings. Hence, SDHCI_CAN_DO_HISPD needs to be set to enable SDIO client drivers to set/enable high speed clock settings Signed-off-by: Madhvapathi Sriram <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-dove: allow GPIOs to be used for card detection on DoveRussell King1-6/+67
This commit taken from Rabeeh's Cubox kernel and re-worked for DT; Sebastian Hasselbrath is believed to be the original author. Some Cuboxes require a GPIO for card detection; this implements the optional GPIO support for card detection. This GPIO is logic 0 for card inserted. Signed-off-by: Russell King <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-dove: use two-stage initialization for sdhci-pltfmRussell King1-7/+17
We need to use the two-stage initialization for sdhci-pltfm if we're going to do anything extra at initialization time. Signed-off-by: Russell King <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-dove: use devm_clk_get()Russell King1-7/+4
Use devm_clk_get() rather than clk_get() to make cleanup paths more simple. Signed-off-by: Russell King <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: eSDHC: Recover from ADMA errorsHaijun Zhang3-2/+56
A-003500: False ADMA Error might be reported when ADMA is used for multiple block read command with Stop at Block Gap. If PROCTL[SABGREQ] is set when the particular block's data is received by the System side logic before entire block (with CRC) data is received by the SD side logic, and also if ADMA descriptor line is fetched at the same time, then DMA engine might report false ADMA error. eSDHC might not be able to Continue (PROCTL[CREQ]=1) after Stop at Block Gap. This issue will impact the eSDHC IP VVN2.3. Signed-off-by: Haijun Zhang <[email protected]> Signed-off-by: Jerry Huang <[email protected]> Acked-by: Anton Vorontsov <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: dw_mmc: remove duplicated buswidth codeJaehoon Chung1-6/+3
ctype is using 1-bit buswidth mode by default. Signed-off-by: Jaehoon Chung <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Acked-by: James Hogan <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: dw_mmc: relocate where dw_mci_setup_bus() is called fromJaehoon Chung1-3/+3
To ensure the stable clock need to enable before set the DW_MMC_CARD_NEED_INIT flag. If set DW_MMC_CARD_NEED_INIT flag, wait for 80-clock before first command after power-up. Signed-off-by: Jaehoon Chung <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Acked-by: Seungwon Jeon <[email protected]> Acked-by: Will Newton <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: Limit MMC speed to 52MHz if not HS200Al Cooper1-0/+2
If "caps2" host capabilities does not indicate support for MMC HS200, don't allow clock speeds >52MHz. Currently, for MMC, the clock speed is set to the lesser of the max speed the eMMC module supports (card->ext_csd.hs_max_dtr) or the max base clock of the host controller (host->f_max based on BASE_CLK_FREQ in the host CAPS register). This means that a host controller that doesn't support HS200 mode but has a base clock of 100MHz and an eMMC module that supports HS200 speeds will end up using a 100MHz clock. Signed-off-by: Al Cooper <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: dw_mmc: use devres functions in dw_mmcSeungwon Jeon1-29/+14
Use managed device resource functions for easy handling. This makes driver simpler in the routine of error and exit. Signed-off-by: Seungwon Jeon <[email protected]> Acked-by: James Hogan <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sh_mmcif: remove unneeded clock connection IDGuennadi Liakhovetski1-4/+2
MMCIF only uses one clock, all ARM and SuperH platforms register MMCIF clock lookup entries with no connection ID, hence it can be dropped in the driver too. Signed-off-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sh_mobile_sdhi: remove unneeded clock connection IDGuennadi Liakhovetski1-4/+2
SDHI only uses one clock, all ARM and SuperH platform register SDHI clock lookup entries with no connection ID, hence it can be dropped in the driver too. Signed-off-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sh_mobile_sdhi: fix clock frequency printingGuennadi Liakhovetski1-1/+1
During its probing the SDHI driver prints out the clock frequency, but does it wrongly, always reporting 0Hz. Use the MMC host frequency value to fix this issue. Signed-off-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: Remove redundant null check before kfree in bus.cSachin Kamat1-2/+1
kfree on a null pointer is a no-op. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: Remove redundant null check before kfree in sdio_bus.cSachin Kamat1-2/+1
kfree on a null pointer is a no-op. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-imx-esdhc: use more devm_* functionsShawn Guo1-38/+18
Use devm_kzalloc, devm_gpio_request_one and devm_request_irq to make cleanup path simpler. Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: dt: add no-1-8-v device tree flagDaniel Drake2-0/+5
The OLPC XO-1.75 laptop includes a SDHCI controller which is 1.8v capable, and it truthfully reports so in its capabilities. This alternate voltage is used for driving new "UHS-I" SD cards at their full speed. However, what the controller doesn't know is that the motherboard physically doesn't have a 1.8v supply available, so attempting to switch to the 1.8v level will result in a situation that cannot be recovered from without physically replugging the SD card. Add a device tree flag that can be used on systems like these, and hook it up to the equivalent SDHCI quirk. Signed-off-by: Daniel Drake <[email protected]> Reviewed-by: Philip Rakity <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci: add quirk for lack of 1.8v supportDaniel Drake2-0/+6
The OLPC XO-1.75 laptop includes a SDHCI controller which is 1.8v capable, and it truthfully reports so in its capabilities. This alternate voltage is used for driving new "UHS-I" SD cards at their full speed. However, what the controller doesn't know is that the motherboard physically doesn't have a 1.8v supply available. Add a quirk so that systems such as this one can override disable 1.8v support, adding support for UHS-I cards (by running them at 3.3v). This avoids a problem where the system would first try to run the card at 1.8v, fail, and then not be able to fully reset the card to retry at the normal 3.3v voltage. This is more appropriate than using the MISSING_CAPS quirk, which is intended for cases where the SDHCI controller is actually lying about its capabilities, and would force us to somehow override both caps words from another source. Signed-off-by: Daniel Drake <[email protected]> Reviewed-by: Philip Rakity <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdio: Add empty bus-level suspend/resume callbacksRafael J. Wysocki1-0/+14
Suspend methods provided by SDIO drivers are not supposed to be called by the PM core. Instead, when the SDIO core gets to suspend a device's ancestor, it calls the device driver's suspend routine. However, the PM core executes suspend callback routines directly for device drivers whose bus types don't provide suspend callbacks. In consequece, because the SDIO bus type doesn't provide a suspend callback, the SDIO drivers' suspend routines will be executed by the PM core (which shouldn't happen). To prevent this from happening, add empty system suspend/resume callbacks for the SDIO bus type. An analogous change had been made already by commit (e841a7c mmc: sdio: Use empty system suspend/resume callbacks at the bus level), but then it was reverted inadvertently by commit (d8e2ac3 mmc: sdio: Fix PM_SLEEP related build warnings) that attempted to fix build warnings introduced by commit e841a7c. Reported-by: NeilBrown <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: vub300: add missing usb_put_devMarina Makienko1-0/+1
Add missing usb_put_dev on failure path in vub300_probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-spear: Don't call clk_{un}prepare() in suspend/resumeViresh Kumar1-2/+2
clk_{un}prepare is mandatory for platforms using common clock framework. Because for SPEAr we don't do anything in clk_{un}prepare() calls, just call them once in probe/remove. Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-spear: Initialize sdhci clk to 50 MHzVipul Kumar Samar1-0/+5
SPEAr sdhci driver expects the clock to be set to 50 MHz for proper functioning. This patch sets clk to 50 MHz in probe. Signed-off-by: Vipul Kumar Samar <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: host: sdhci-s3c: Add support for pinctrlTomasz Figa2-9/+23
This patch adds support for pin configuration using pinctrl subsystem to the sdhci-s3c driver. Signed-off-by: Tomasz Figa <[email protected]> Acked-by: Thomas Abraham <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: host: sdhci-s3c: Use devm_gpio_request to request GPIOsTomasz Figa1-31/+9
The set of GPIO pins used by sdhci-s3c driver varies between configurations, such as card detect method, pinctrl availability, etc. This overly complicates the code requesting and freeing GPIO pins, which must check which pins are used, when freeing them. This patch modifies the sdhci-s3c driver to use devm_gpio_request to free requested pins automatically after unbinding the driver. Signed-off-by: Tomasz Figa <[email protected]> Acked-by: Thomas Abraham <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-of-esdhc: support commands with busy response expecting TCJerry Huang1-0/+3
The IP versions older than 2.3 didn't support commands with busy response which expect the TC bit set. But after the VVN2.3, eSDHC IP has supported it. Signed-off-by: Jerry Huang <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-s3c: Use NULL instead of 0 for pointersTushar Behera1-2/+2
The third argument for of_get_property() is a pointer, hence pass NULL instead of 0. Fixes the following sparse warning: sdhci-s3c.c:452:48: warning: Using plain integer as NULL pointer sdhci-s3c.c:457:52: warning: Using plain integer as NULL pointer Signed-off-by: Tushar Behera <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: omap_hsmmc: Cleanup bitmap definitions of Interrupt RegisterVenkatraman S1-24/+32
Define the most frequently used bitmasks of the Interrupt Enable / Interrupt Status register with consistent naming ( with _EN suffix). Use meaningful concatenation of bitfields for INT_EN_MASK, which shows which interrupts are enabled by default. No functional changes. Signed-off-by: Venkatraman S <[email protected]> Acked-by: Felipe Balbi <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: omap_hsmmc: Convert critical failure reports to dev_errVenkatraman S1-6/+6
Fatal errors for the driver are not reported when just error debug is enabled. Convert selected dev_dbg to dev_err for accurate error reporting. Reported-by: Benoit Cousson <[email protected]> Signed-off-by: Venkatraman S <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: omap_hsmmc: Introduce omap_hsmmc_prepare/completeFelipe Balbi1-20/+24
prepare() is supposed to prevent new children from being registered. On the MMC subsystem, children (new cards) registration starts with the card detect IRQ. Move card detect IRQ disabling to prepare() so that no new cards will be registered while we're trying to suspend. Likewise, move card detect IRQ enabling to complete() so we only try to register new children after our MMC IP is back up. Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Venkatraman S <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: omap_hsmmc: Enable HSPE bit for high speed cardsHebbar, Gururaja3-1/+31
HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP timing closure done for the high speed cards. From AM335x TRM (SPRUH73F - 18.3.12 Output Signals Generation): The MMC/SD/SDIO output signals can be driven on either falling edge or rising edge depending on the SD_HCTL[2] HSPE bit. This feature allows to reach better timing performance, and thus to increase data transfer frequency. There are few pre-requisites for enabling the HSPE bit - Controller should support High-Speed-Enable Bit and - Controller should not be using DDR Mode and - Controller should advertise that it supports High Speed in capabilities register and - MMC/SD clock coming out of controller > 25MHz Signed-off-by: Hebbar, Gururaja <[email protected]> Signed-off-by: Venkatraman S <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: omap_hsmmc: Update error code for response_busy cmdBalaji T K1-2/+2
Update error code to cmd->error for commands with response_busy and no data. Signed-off-by: Balaji T K <[email protected]> Reviewed-by: Felipe Balbi <[email protected]> Signed-off-by: Venkatraman S <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: omap_hsmmc: No reset of cmd state machine for DCRCBalaji T K1-1/+1
Avoid soft reset of command internal state machine on data errors. Signed-off-by: Balaji T K <[email protected]> Reviewed-by: Felipe Balbi <[email protected]> Signed-off-by: Venkatraman S <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: omap_hsmmc: Fix Oops in case of data errorsBalaji T K1-6/+12
ae4bf788ee9 ("mmc: omap_hsmmc: consolidate error report handling of HSMMC IRQ") sets both end_cmd and end_trans to 1. Setting end_cmd to 1 for Data Timeout/CRC leads to NULL pointer dereference of host->cmd as the command complete has previously been handled. Set end_cmd only in case of command Timeout/CRC. Moreover host->cmd->error should not be updated on data error case, only host->data->error needs to be updated. Signed-off-by: Balaji T K <[email protected]> Reviewed-by: Felipe Balbi <[email protected]> Signed-off-by: Venkatraman S <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: dw_mmc: Add sdio power bindingsAbhilash Kesavan2-3/+18
Add dt-based retrieval of host sdio pm capabilities. Based on the dt based discovery do a bus init in the resume function. Signed-off-by: Olof Johansson <[email protected]> Signed-off-by: Abhilash Kesavan <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-pltfm: Support optional pm propertiesAbhilash Kesavan1-0/+6
Add support for optional pm capabilities such as MMC_PM_KEEP_POWER and MMC_PM_WAKE_SDIO_IRQ. Signed-off-by: Abhilash Kesavan <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: dt: Add optional pm properties to core bindingAbhilash Kesavan1-0/+6
Add documentation for pm capabilties such as MMC_PM_KEEP_POWER and MMC_PM_WAKE_SDIO_IRQ. Signed-off-by: Abhilash Kesavan <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: dt: Fix typo in filenameAbhilash Kesavan1-0/+0
Fix typo in the synopsis dwmmc controller dt binding filename. Signed-off-by: Abhilash Kesavan <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-pxav3: add quirks2Kevin Liu2-0/+4
Acked-by: Zhangfei Gao <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci: Use regulator min/max voltage range according to specKevin Liu1-10/+8
For regulator vmmc/vmmcq, use voltage range as below 3.3v/3.0v: (2.7v, 3.6v) 1.8v: (1.7v, 1.95v) Original code uses the precise value which may fail in regulator driver if it does NOT support the precise voltage. Signed-off-by: Jialing Fu <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: SD/MMC Host Controller for Wondermedia WM8505/WM8650Tony Prisk5-0/+1065
This patch adds support for the SD/MMC host controller found on Wondermedia 8xxx series SoCs, currently supported under arm/arch-vt8500. A binding document is also included, based on mmc.txt with additional properties. Signed-off-by: Tony Prisk <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: card: Add RPMB support in IOCTL interfaceLoic Pallardy1-0/+64
RPMB partition is accessing though /dev/block/mmcXrpmb device User callers can read and write entire data frame(s) as defined by JEDEC Standard JESD84-A441, using standard IOCTL interface. Signed-off-by: Alex Macro <[email protected]> Signed-off-by: Loic Pallardy <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Krishna Konda <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: core: Add mmc_set_blockcount featureLoic Pallardy2-0/+16
Provide support for automatically sending Set Block Count (CMD23) messages. Used at least for RPMB support. Signed-off-by: Alex Macro <[email protected]> Signed-off-by: Loic Pallardy <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Johan Rudholm <[email protected]> Acked-by: Krishna Konda <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: core: Extend sysfs to ext_csd parameters for RPMB supportLoic Pallardy2-0/+11
Extend current sysfs access to ext_csd rpmb parameters (RPMB partition size) and rel_sector information. Signed-off-by: Loic Pallardy <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Johan Rudholm <[email protected]> Acked-by: Krishna Konda <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: card: Do not scan RPMB partitionsLoic Pallardy1-0/+2
Do not scan rpmb partitions for "soft" partitions, since the rpmb partition contains protected data. Silences the following message during boot: mmcblkXRPMB: unknown partition table Signed-off-by: Johan Rudholm <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Krishna Konda <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: core: Expose access to RPMB partitionLoic Pallardy3-0/+15
Following JEDEC standard, if the mmc supports RPMB partition, a new interface is created and exposed via /dev/block. Users will be able to access RPMB partition using standard mmc IOCTL commands. Signed-off-by: Alex Macro <[email protected]> Signed-off-by: Loic Pallardy <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Acked-by: Linus Walleij <[email protected]> Acked-by: Johan Rudholm <[email protected]> Acked-by: Krishna Konda <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: host: Make UHS timing values fully uniqueKevin Liu1-6/+6
Both of MMC_TIMING_LEGACY and MMC_TIMING_UHS_SDR12 are defined to 0. And ios->timing is set to MMC_TIMING_LEGACY during power up. But set_ios can't distinguish these two timing if host support spec 3.0. Just adjust timing values to be different can resolve this issue without any other impact. Reviewed-by: Girish K S <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: sdhci-pxav3: Add base clock quirkKevin Liu1-1/+10
Enable the quirk SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN since SD_CAPABILITIES_1[15:8](BASE_FREQ) can't get correct base clock value. It returns a fixed pre-set value like 200 on some sdhci-pxav3 based platforms like MMP3 while return 0 on the other sdhci-pxav3 based platforms. So we enable the quirk and get the base clock via function get_max_clock. Also add get_max_clock. Reported-by: Philip Rakity <[email protected]> Reviewed-by: Philip Rakity <[email protected]> Acked-by: Zhangfei Gao <[email protected]> Signed-off-by: Kevin Liu <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: Standardise capability typeLee Jones5-9/+9
There are discrepancies with regards to how MMC capabilities are carried throughout the subsystem. Let's standardise them to eliminate any confusion. Signed-off-by: Lee Jones <[email protected]> Signed-off-by: Chris Ball <[email protected]>
2012-12-06mmc: mxs-mmc: Remove platform dataFabio Estevam2-40/+10
All MXS users have been converted to device tree and the board files have been removed. No need to keep platform data in the driver. Also move bus_width declaration in the beggining of mxs_mmc_probe() to avoid: 'warning: ISO C90 forbids mixed declarations and code'. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Shawn Guo <[email protected]> Acked-by: Marek Vasut <[email protected]> Signed-off-by: Chris Ball <[email protected]>