mirror of https://github.com/hak5/openwrt-owl.git
ar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_select
Reported-by: Steve Brown <sbrown@cortland.com> Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46547owl
parent
ba05254353
commit
4dc128e51d
|
@ -14,7 +14,7 @@
|
|||
+ gpio_count = AR934X_GPIO_COUNT;
|
||||
+ reg_base = AR934X_GPIO_REG_OUT_FUNC0;
|
||||
+ } else if (soc_is_qca953x()) {
|
||||
+ reg_base = QCA953X_GPIO_COUNT;
|
||||
+ gpio_count = QCA953X_GPIO_COUNT;
|
||||
+ reg_base = QCA953X_GPIO_REG_OUT_FUNC0;
|
||||
+ } else if (soc_is_qca955x()) {
|
||||
+ gpio_count = QCA955X_GPIO_COUNT;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
+ gpio_count = AR934X_GPIO_COUNT;
|
||||
+ reg_base = AR934X_GPIO_REG_OUT_FUNC0;
|
||||
+ } else if (soc_is_qca953x()) {
|
||||
+ reg_base = QCA953X_GPIO_COUNT;
|
||||
+ gpio_count = QCA953X_GPIO_COUNT;
|
||||
+ reg_base = QCA953X_GPIO_REG_OUT_FUNC0;
|
||||
+ } else if (soc_is_qca955x()) {
|
||||
+ gpio_count = QCA955X_GPIO_COUNT;
|
||||
|
|
Loading…
Reference in New Issue