2012/2/5 Chris Ball <[email protected]>:
> Hi,
>
> On Thu, Jan 19 2012, Jaehoon Chung wrote:
>> This patch is support the sysfs for operation mode.
>>
>> There are two operation modes(open-ended/pre-defined).
>> Now, operation mode is selected only one at the compile time.
>>
>> But using this patch, we can change the operation mode with node at runtime.
>>
>> * pre-defined mode
>> echo 1 > /sys/class/mmc_host/mmc0/pre_defined_op
>> * open-ended mode
>> echo 0 > /sys/class/mmc_host/mmc0/pre_defined_op
>>
>> Signed-off-by: Jaehoon Chung <[email protected]>
>> Signed-off-by: Kyungmin Park <[email protected]>
>> ---
>> Changelog v2:
>>       - Add the check point in mmc_cmd23_store()
>>       (If host controller didn't support CMD23, need not to change the 
>> ops-mode.)
>>
>>  drivers/mmc/card/block.c |   14 +++++++-------
>>  drivers/mmc/core/host.c  |   41 +++++++++++++++++++++++++++++++++++++++++
>>  include/linux/mmc/host.h |    5 ++++-
>>  3 files changed, 52 insertions(+), 8 deletions(-)
>
> Patches that add sysfs nodes must come with documentation added to
> Documentation/mmc/mmc-dev-attrs.txt.
Hi Chris..
Ok..i will add to mmc-dev-attrs.txt and resend the patch.

Best Regards,
Jaehoon Chung
>
> Thanks,
>
> - Chris.
> --
> Chris Ball   <[email protected]>   <http://printf.net/>
> One Laptop Per Child
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to