pinctrl-intel.c (e5a4ab6a55e2308aad546b594c0d8e5b71d21be9) | pinctrl-intel.c (9bd59157e16c64b45da5315f5b49b659fe51984b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Intel pinctrl/GPIO core driver. 4 * 5 * Copyright (C) 2015, Intel Corporation 6 * Authors: Mathias Nyman <mathias.nyman@linux.intel.com> 7 * Mika Westerberg <mika.westerberg@linux.intel.com> 8 */ --- 1267 unchanged lines hidden (view full) --- 1276 if (gpps[i].size > 32) 1277 return -EINVAL; 1278 1279 /* Special treatment for GPIO base */ 1280 switch (gpps[i].gpio_base) { 1281 case INTEL_GPIO_BASE_MATCH: 1282 gpps[i].gpio_base = gpps[i].base; 1283 break; | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Intel pinctrl/GPIO core driver. 4 * 5 * Copyright (C) 2015, Intel Corporation 6 * Authors: Mathias Nyman <mathias.nyman@linux.intel.com> 7 * Mika Westerberg <mika.westerberg@linux.intel.com> 8 */ --- 1267 unchanged lines hidden (view full) --- 1276 if (gpps[i].size > 32) 1277 return -EINVAL; 1278 1279 /* Special treatment for GPIO base */ 1280 switch (gpps[i].gpio_base) { 1281 case INTEL_GPIO_BASE_MATCH: 1282 gpps[i].gpio_base = gpps[i].base; 1283 break; |
1284 case INTEL_GPIO_BASE_ZERO: 1285 gpps[i].gpio_base = 0; 1286 break; |
|
1284 case INTEL_GPIO_BASE_NOMAP: 1285 default: 1286 break; 1287 } 1288 1289 gpps[i].padown_num = padown_num; 1290 1291 /* --- 399 unchanged lines hidden --- | 1287 case INTEL_GPIO_BASE_NOMAP: 1288 default: 1289 break; 1290 } 1291 1292 gpps[i].padown_num = padown_num; 1293 1294 /* --- 399 unchanged lines hidden --- |