Re: [PATCH] mmc-utils: improve the parsing of the EXT_CSD registers

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

 



Hi,

On Mon, Feb 20 2012, Jaehoon Chung wrote:
> Write protect is only supported the "power-on".
> If there is no problem to support "permanent", i will send the patch.
> Is any problem to support "permanent"?

I think I'd rather not -- we could add a comment to the code that
explains that setting the EXT_CSD_BOOT_WP_B_PERM_WP_EN bit instead of
EXT_CSD_BOOT_WP_B_PWR_WP_EN is how to achieve this, but I don't think
we need to do more than that for such a rare and dangerous use case.

Thanks,

- Chris.
-- 
Chris Ball   <cjb@xxxxxxxxxx>   <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 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