lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 26 Jul 2012 09:34:19 +0800
From:	wwang <wei_wang@...lsil.com.cn>
To:	Aaron Lu <aaron.lu@....com>
CC:	Borislav Petkov <bp@...en8.de>,
	"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
	"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Philip Rakity <prakity@...vell.com>,
	Chris Ball <cjb@...top.org>
Subject: Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

Hi Aaron:

Thank you. I will modify our host per your suggestion.

BR,
wwang

于 2012年07月25日 18:16, Aaron Lu 写道:
> Hi Wei,
>
> We do not use MMC_CAP_MAX_CURRENT_* anymore, for your host, I would
> sugget you do something like this:
>
> static void realtek_init(struct realtek_sdmmc *host)
> {
> 	struct mmc_host *mmc = host->mmc;
> 	... ...
> 	/*
> 	 * since you have set MMC_CAP_MAX_CURRENT_800 in your
> 	 * original code, I assume your host can provide more than
> 	 * 800mA, and you've set the 1.8v support bit in your original
> 	 * code for the host, so I also set the max_current_180 to 800mA.
> 	 */
> 	mmc->max_current_330 = 800;
> 	mmc->max_current_180 = 800;
> 	... ...
> }
>
> Does this look right to you?
>
> Thanks,
> Aaron
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ