RE: [RFC] MMC: Proposals on reworking clock and power management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Alan Cox [mailto:alan@xxxxxxxxxxxxxxxxxxx]
> Sent: Wednesday, October 27, 2010 9:32 AM
> To: Ghorai, Sukumar
> Cc: Chris Ball; Linus Walleij; Nicolas Pitre; Adrian Hunter; linux-
> mmc@xxxxxxxxxxxxxxx; Kadiyala, Kishore; Chikkature Rajashekar,
> Madhusudhan; S, Venkatraman
> Subject: Re: [RFC] MMC: Proposals on reworking clock and power management
> 
> > 2. Ideally host-driver driver should not tell the core to shut down
> >    the upper layers, instead the core should decide when to
> >    "disabled clock or cut the power".
> 
> How will the core know ?
> 

Are you saying that MMC core needs to be adapted first to RUNTIME PM?


> I actually think you are simply perpetuating the mess in the existing MMC
> driver where everything is driven by a core which as a result is a twisty
> maze of exceptions and flags to say "except for this" "except for that".
> 
> The core MMC code only knows when the *core* parts are no longer
> requiring power. It shouldn't know about anything deeper and if you are
> using the runtime PM layer the runtime PM refcounting can do all your
> work.
> 
> Alan

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux