Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.
From: Adrian Hunter
Date: Thu Jan 19 2017 - 05:48:21 EST
On 18/01/17 09:57, Ritesh Harjani wrote:
> Hi Shawn,
>
> On 1/10/2017 2:45 PM, Shawn Lin wrote:
>> On 2017/1/10 14:41, Ritesh Harjani wrote:
>>> From: Sahitya Tummala <stummala@xxxxxxxxxxxxxx>
>>>
>>> Add new host operation ->platform_dumpregs to provide a
>>> mechanism through which host drivers can dump platform
>>> specific registers in addition to SDHC registers
>>> during error conditions.
>>>
>>
>> Although we have been preventing from adding new callback
>> for sdhci core, this one makes sense as there are more and more
>> vendor registers outside the scope of SDHCI spec.
We are not prevented from adding new callbacks, but they have to represent
logical functions not quirks.
This patch seems fine to me except the name "platform_dumpregs" because
"platform" doesn't mean "platform" here. Just plain "dumpregs" is better.