Re: [PATCH V2 0/2] mmc: Add wakeup functionality support for sdio cards

From: Ulf Hansson
Date: Tue Jun 14 2022 - 19:13:13 EST


On Thu, 26 May 2022 at 05:13, Sarthak Garg <quic_sartgarg@xxxxxxxxxxx> wrote:
>
> Changes since V1:
> - Define a new vendor ops to let vendor enable wakeup capability
> as per their needs.
>
> Sarthak Garg (2):
> mmc: core: Define a new vendor ops to enable wakeup capability
> mmc: sdhci-msm: Add wakeup functionality to sdio cards
>
> drivers/mmc/core/bus.c | 3 +++
> drivers/mmc/host/sdhci-msm.c | 14 ++++++++++++++
> include/linux/mmc/host.h | 7 +++++++
> 3 files changed, 24 insertions(+)
>

Hi Sarthak,

I don't think this is the right solution.

Please have a look at another series [1], which is currently under
review and it's adding support for SDIO wakeup. I think you should be
able to get influenced from that, to understand how you should
implement this.

Kind regards
Uffe

[1]
https://www.spinics.net/lists/linux-mmc/msg70506.html