mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
cns3xxx: fix register for enabling MMC/SD pins
also fixes a GPIO related regression from the upgrade to 3.10 Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42829 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -818,8 +818,7 @@ static void __init laguna_init(void)
|
||||
*reg |= BIT(12) | BIT(13);
|
||||
|
||||
/* Enable MMC/SD pins */
|
||||
reg = MISC_GPIOA_PIN_ENABLE_REG;
|
||||
*reg |= 0xf80;
|
||||
*reg |= BIT(7) | BIT(8) | BIT(9) | BIT(10) | BIT(11);
|
||||
|
||||
cns3xxx_pwr_clk_en(1 << PM_CLK_GATE_REG_OFFSET_SPI_PCM_I2C);
|
||||
cns3xxx_pwr_power_up(1 << PM_CLK_GATE_REG_OFFSET_SPI_PCM_I2C);
|
||||
|
||||
Reference in New Issue
Block a user