From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 19 Jan 2018 16:11:33 -0500 Subject: [U-Boot] [U-Boot, v2, 5/5] mmc: omap_hsmmc: Fix incorrect bit operations for disabling a bit In-Reply-To: <1506005496-8635-6-git-send-email-jjhiblot@ti.com> References: <1506005496-8635-6-git-send-email-jjhiblot@ti.com> Message-ID: <20180119211133.GE4660@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Sep 21, 2017 at 04:51:36PM +0200, Jean-Jacques Hiblot wrote: > From: Kishon Vijay Abraham I > > omap_hsmmc driver uses "|" in a couple of places for disabling a bit. > While it's okay to use it in "mmc_reg_out" (since mmc_reg_out has a > _mask_ argument to take care of resetting a bit), it's incorrectly used > for resetting flags in "omap_hsmmc_send_cmd". > > Fix it here by using "&= ~()" to reset a bit. > > Signed-off-by: Kishon Vijay Abraham I > Signed-off-by: Jean-Jacques Hiblot > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: