On Mon, Apr 11, 2011 at 03:12:51PM -0700, Kristen Carlson Accardi wrote:
> The quirk to remove the sdio quirk for the ath6k was applied in
> the wrong order - first you need to do all the ANY IDs, then remove
> the quirk for individual devices.
> 
> Signed-off-by: Kristen Carlson Accardi <[email protected]>
> ---
>  drivers/mmc/core/quirks.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mmc/core/quirks.c b/drivers/mmc/core/quirks.c
> index d1e2ccd..24dbe06 100644
> --- a/drivers/mmc/core/quirks.c
> +++ b/drivers/mmc/core/quirks.c
> @@ -60,10 +60,10 @@ static void add_quirk_for_sdio_devices(struct mmc_card 
> *card, int data)
>  static const struct mmc_fixup mmc_fixup_methods[] = {
>       /* by default sdio devices are considered CLK_GATING broken */
>       /* good cards will be whitelisted as they are tested */
> -     { SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_6003,
> -             remove_quirk, MMC_QUIRK_BROKEN_CLK_GATING },
>       { SDIO_ANY_ID, SDIO_ANY_ID,
>               add_quirk_for_sdio_devices, MMC_QUIRK_BROKEN_CLK_GATING },
> +     { SDIO_VENDOR_ID_ATHEROS, SDIO_DEVICE_ID_ATHEROS_6003,
> +             remove_quirk, MMC_QUIRK_BROKEN_CLK_GATING },
>       { 0 }
>  };
>  

Acked-by: Yong Wang <[email protected]>

Thanks
-Yong

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to