diff options
author | Rui Miguel Silva <rui.silva@linaro.org> | 2015-07-02 19:11:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-07-06 11:15:42 -0700 |
commit | f85451d8f58cd6df8643838b249016449f4d6218 (patch) | |
tree | f805aac53d16791289560fcd393f325dac796368 /drivers/staging/greybus/sdio.c | |
parent | 73f4a5217968d51d9685732512d268c71b78a347 (diff) | |
download | op-kernel-dev-f85451d8f58cd6df8643838b249016449f4d6218.zip op-kernel-dev-f85451d8f58cd6df8643838b249016449f4d6218.tar.gz |
greybus: sdio: add need poll to host caps
As we do not have, yet, a event callback to notify core about changes
we add the MMC_CAP_NEEDS_POLL capability to the rest of the caps
received from the module.
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/sdio.c')
-rw-r--r-- | drivers/staging/greybus/sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 544dbda..33d5fe6 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -85,7 +85,7 @@ static void _gb_sdio_set_host_caps(struct gb_sdio_host *host, u32 r) #endif (r & GB_SDIO_CAP_HS200_1_8V ? MMC_CAP2_HS200_1_8V_SDR : 0); - host->mmc->caps = caps; + host->mmc->caps = caps | MMC_CAP_NEEDS_POLL; host->mmc->caps2 = caps2; if (caps & MMC_CAP_NONREMOVABLE) |