Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'intel-pinctrl-v5.13-1' of gitolite.kernel.org:pub/scm/linux/kernel/git/pinctrl/intel into devel

intel-pinctrl for v5.13-1

* Don't disable disabled IRQs in the handler
* Fix the base calculation for groups defined by size

The following is an automated git shortlog grouped by driver:

intel:
- No need to disable IRQs in the handler
- Show the GPIO base calculation explicitly

+4 -3
+4 -3
drivers/pinctrl/intel/pinctrl-intel.c
··· 1173 1173 for (gpp = 0; gpp < community->ngpps; gpp++) { 1174 1174 const struct intel_padgroup *padgrp = &community->gpps[gpp]; 1175 1175 unsigned long pending, enabled, gpp_offset; 1176 - unsigned long flags; 1177 1176 1178 - raw_spin_lock_irqsave(&pctrl->lock, flags); 1177 + raw_spin_lock(&pctrl->lock); 1179 1178 1180 1179 pending = readl(community->regs + community->is_offset + 1181 1180 padgrp->reg_num * 4); 1182 1181 enabled = readl(community->regs + community->ie_offset + 1183 1182 padgrp->reg_num * 4); 1184 1183 1185 - raw_spin_unlock_irqrestore(&pctrl->lock, flags); 1184 + raw_spin_unlock(&pctrl->lock); 1186 1185 1187 1186 /* Only interrupts that are enabled */ 1188 1187 pending &= enabled; ··· 1356 1357 gpps[i].gpio_base = 0; 1357 1358 break; 1358 1359 case INTEL_GPIO_BASE_NOMAP: 1360 + break; 1359 1361 default: 1360 1362 break; 1361 1363 } ··· 1393 1393 gpps[i].size = min(gpp_size, npins); 1394 1394 npins -= gpps[i].size; 1395 1395 1396 + gpps[i].gpio_base = gpps[i].base; 1396 1397 gpps[i].padown_num = padown_num; 1397 1398 1398 1399 /*