Re: [PATCH] mmc: sdhci-pci: add flag for devices that can support runtime PM

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

 



On 17/10/11 15:56, Chris Ball wrote:
> Hi Adrian,
> 
> On Mon, Oct 17 2011, Adrian Hunter wrote:
>> Only allow runtime PM for devices that specifically indicate
>> that they support it.
>>
>> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>
>>  drivers/mmc/host/sdhci-pci.c |   17 +++++++++++++----
>>  1 files changed, 13 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
>> index f49b184..c22d810 100644
>> --- a/drivers/mmc/host/sdhci-pci.c
>> +++ b/drivers/mmc/host/sdhci-pci.c
>> @@ -47,6 +47,7 @@ struct sdhci_pci_slot;
>>  
>>  struct sdhci_pci_fixes {
>>  	unsigned int		quirks;
>> +	unsigned int		allow_runtime_pm:1;
> 
> Thanks -- any objection to using a bool type instead for allow_runtime_pm?

None at all


--
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