Skip to content

Commit 5d0cad4

Browse files
committed
ASoC: stm32: sai: fix device and OF node leaks on
Merge series from Johan Hovold <johan@kernel.org>: This series fixes device and OF node reference leaks during probe and a clock prepare imbalance on probe failures. Included is a related cleanup of an error path.
2 parents 994a0b2 + 3a03de3 commit 5d0cad4

234 files changed

Lines changed: 2024 additions & 1144 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ Krishna Manikandan <quic_mkrishn@quicinc.com> <mkrishn@codeaurora.org>
438438
Krzysztof Kozlowski <krzk@kernel.org> <k.kozlowski.k@gmail.com>
439439
Krzysztof Kozlowski <krzk@kernel.org> <k.kozlowski@samsung.com>
440440
Krzysztof Kozlowski <krzk@kernel.org> <krzysztof.kozlowski@canonical.com>
441+
Krzysztof Kozlowski <krzk@kernel.org> <krzysztof.kozlowski@linaro.org>
441442
Krzysztof Wilczyński <kwilczynski@kernel.org> <krzysztof.wilczynski@linux.com>
442443
Krzysztof Wilczyński <kwilczynski@kernel.org> <kw@linux.com>
443444
Kshitiz Godara <quic_kgodara@quicinc.com> <kgodara@codeaurora.org>

Documentation/devicetree/bindings/pinctrl/toshiba,visconti-pinctrl.yaml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,20 @@ patternProperties:
5050
groups:
5151
description:
5252
Name of the pin group to use for the functions.
53-
$ref: /schemas/types.yaml#/definitions/string
54-
enum: [i2c0_grp, i2c1_grp, i2c2_grp, i2c3_grp, i2c4_grp,
55-
i2c5_grp, i2c6_grp, i2c7_grp, i2c8_grp,
56-
spi0_grp, spi0_cs0_grp, spi0_cs1_grp, spi0_cs2_grp,
57-
spi1_grp, spi2_grp, spi3_grp, spi4_grp, spi5_grp, spi6_grp,
58-
uart0_grp, uart1_grp, uart2_grp, uart3_grp,
59-
pwm0_gpio4_grp, pwm0_gpio8_grp, pwm0_gpio12_grp,
60-
pwm0_gpio16_grp, pwm1_gpio5_grp, pwm1_gpio9_grp,
61-
pwm1_gpio13_grp, pwm1_gpio17_grp, pwm2_gpio6_grp,
62-
pwm2_gpio10_grp, pwm2_gpio14_grp, pwm2_gpio18_grp,
63-
pwm3_gpio7_grp, pwm3_gpio11_grp, pwm3_gpio15_grp,
64-
pwm3_gpio19_grp, pcmif_out_grp, pcmif_in_grp]
53+
items:
54+
enum: [i2c0_grp, i2c1_grp, i2c2_grp, i2c3_grp, i2c4_grp,
55+
i2c5_grp, i2c6_grp, i2c7_grp, i2c8_grp,
56+
spi0_grp, spi0_cs0_grp, spi0_cs1_grp, spi0_cs2_grp,
57+
spi1_grp, spi2_grp, spi3_grp, spi4_grp, spi5_grp, spi6_grp,
58+
uart0_grp, uart1_grp, uart2_grp, uart3_grp,
59+
pwm0_gpio4_grp, pwm0_gpio8_grp, pwm0_gpio12_grp,
60+
pwm0_gpio16_grp, pwm1_gpio5_grp, pwm1_gpio9_grp,
61+
pwm1_gpio13_grp, pwm1_gpio17_grp, pwm2_gpio6_grp,
62+
pwm2_gpio10_grp, pwm2_gpio14_grp, pwm2_gpio18_grp,
63+
pwm3_gpio7_grp, pwm3_gpio11_grp, pwm3_gpio15_grp,
64+
pwm3_gpio19_grp, pcmif_out_grp, pcmif_in_grp]
65+
minItems: 1
66+
maxItems: 8
6567

6668
drive-strength:
6769
enum: [2, 4, 6, 8, 16, 24, 32]

Documentation/devicetree/bindings/pinctrl/xlnx,versal-pinctrl.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ patternProperties:
7474

7575
'^conf':
7676
type: object
77+
unevaluatedProperties: false
7778
description:
7879
Pinctrl node's client devices use subnodes for pin configurations,
7980
which in turn use the standard properties below.

Documentation/input/event-codes.rst

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -400,19 +400,30 @@ can report through the rotational axes (absolute and/or relative rx, ry, rz).
400400
All other axes retain their meaning. A device must not mix
401401
regular directional axes and accelerometer axes on the same event node.
402402

403-
INPUT_PROP_HAPTIC_TOUCHPAD
404-
--------------------------
403+
INPUT_PROP_PRESSUREPAD
404+
----------------------
405+
406+
The INPUT_PROP_PRESSUREPAD property indicates that the device provides
407+
simulated haptic feedback (e.g. a vibrator motor situated below the surface)
408+
instead of physical haptic feedback (e.g. a hinge). This property is only set
409+
if the device:
405410

406-
The INPUT_PROP_HAPTIC_TOUCHPAD property indicates that device:
407-
- supports simple haptic auto and manual triggering
408411
- can differentiate between at least 5 fingers
409412
- uses correct resolution for the X/Y (units and value)
410-
- reports correct force per touch, and correct units for them (newtons or grams)
411413
- follows the MT protocol type B
412414

415+
If the simulated haptic feedback is controllable by userspace the device must:
416+
417+
- support simple haptic auto and manual triggering, and
418+
- report correct force per touch, and correct units for them (newtons or grams), and
419+
- provide the EV_FF FF_HAPTIC force feedback effect.
420+
413421
Summing up, such devices follow the MS spec for input devices in
414-
Win8 and Win8.1, and in addition support the Simple haptic controller HID table,
415-
and report correct units for the pressure.
422+
Win8 and Win8.1, and in addition may support the Simple haptic controller HID
423+
table, and report correct units for the pressure.
424+
425+
Where applicable, this property is set in addition to INPUT_PROP_BUTTONPAD, it
426+
does not replace that property.
416427

417428
Guidelines
418429
==========

Documentation/wmi/driver-development-guide.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ to matching WMI devices using a struct wmi_device_id table:
5454
::
5555

5656
static const struct wmi_device_id foo_id_table[] = {
57+
/* Only use uppercase letters! */
5758
{ "936DA01F-9ABD-4D9D-80C7-02AF85C822A8", NULL },
5859
{ }
5960
};

MAINTAINERS

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3927,7 +3927,7 @@ F: crypto/async_tx/
39273927
F: include/linux/async_tx.h
39283928

39293929
AT24 EEPROM DRIVER
3930-
M: Bartosz Golaszewski <brgl@bgdev.pl>
3930+
M: Bartosz Golaszewski <brgl@kernel.org>
39313931
L: linux-i2c@vger.kernel.org
39323932
S: Maintained
39333933
T: git git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git
@@ -9267,7 +9267,6 @@ M: Ido Schimmel <idosch@nvidia.com>
92679267
L: bridge@lists.linux.dev
92689268
L: netdev@vger.kernel.org
92699269
S: Maintained
9270-
W: http://www.linuxfoundation.org/en/Net:Bridge
92719270
F: include/linux/if_bridge.h
92729271
F: include/uapi/linux/if_bridge.h
92739272
F: include/linux/netfilter_bridge/
@@ -10680,7 +10679,7 @@ F: tools/gpio/gpio-sloppy-logic-analyzer.sh
1068010679

1068110680
GPIO SUBSYSTEM
1068210681
M: Linus Walleij <linus.walleij@linaro.org>
10683-
M: Bartosz Golaszewski <brgl@bgdev.pl>
10682+
M: Bartosz Golaszewski <brgl@kernel.org>
1068410683
L: linux-gpio@vger.kernel.org
1068510684
S: Maintained
1068610685
T: git git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git
@@ -10697,7 +10696,7 @@ K: GPIOD_FLAGS_BIT_NONEXCLUSIVE
1069710696
K: devm_gpiod_unhinge
1069810697

1069910698
GPIO UAPI
10700-
M: Bartosz Golaszewski <brgl@bgdev.pl>
10699+
M: Bartosz Golaszewski <brgl@kernel.org>
1070110700
R: Kent Gibson <warthog618@gmail.com>
1070210701
L: linux-gpio@vger.kernel.org
1070310702
S: Maintained
@@ -15311,7 +15310,7 @@ F: drivers/pwm/pwm-max7360.c
1531115310
F: include/linux/mfd/max7360.h
1531215311

1531315312
MAXIM MAX77650 PMIC MFD DRIVER
15314-
M: Bartosz Golaszewski <brgl@bgdev.pl>
15313+
M: Bartosz Golaszewski <brgl@kernel.org>
1531515314
L: linux-kernel@vger.kernel.org
1531615315
S: Maintained
1531715316
F: Documentation/devicetree/bindings/*/*max77650.yaml
@@ -16207,7 +16206,7 @@ MEMORY CONTROLLER DRIVERS
1620716206
M: Krzysztof Kozlowski <krzk@kernel.org>
1620816207
L: linux-kernel@vger.kernel.org
1620916208
S: Maintained
16210-
B: mailto:krzysztof.kozlowski@linaro.org
16209+
B: mailto:krzk@kernel.org
1621116210
T: git git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl.git
1621216211
F: Documentation/devicetree/bindings/memory-controllers/
1621316212
F: drivers/memory/
@@ -18782,6 +18781,10 @@ S: Maintained
1878218781
F: arch/arm/*omap*/*clock*
1878318782

1878418783
OMAP DEVICE TREE SUPPORT
18784+
M: Aaro Koskinen <aaro.koskinen@iki.fi>
18785+
M: Andreas Kemnade <andreas@kemnade.info>
18786+
M: Kevin Hilman <khilman@baylibre.com>
18787+
M: Roger Quadros <rogerq@kernel.org>
1878518788
M: Tony Lindgren <tony@atomide.com>
1878618789
L: linux-omap@vger.kernel.org
1878718790
L: devicetree@vger.kernel.org
@@ -19901,7 +19904,7 @@ F: drivers/pci/p2pdma.c
1990119904
F: include/linux/pci-p2pdma.h
1990219905

1990319906
PCI POWER CONTROL
19904-
M: Bartosz Golaszewski <brgl@bgdev.pl>
19907+
M: Bartosz Golaszewski <brgl@kernel.org>
1990519908
L: linux-pci@vger.kernel.org
1990619909
S: Maintained
1990719910
T: git git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git
@@ -20498,7 +20501,7 @@ F: include/linux/powercap.h
2049820501
F: kernel/configs/nopm.config
2049920502

2050020503
POWER SEQUENCING
20501-
M: Bartosz Golaszewski <brgl@bgdev.pl>
20504+
M: Bartosz Golaszewski <brgl@kernel.org>
2050220505
L: linux-pm@vger.kernel.org
2050320506
S: Maintained
2050420507
T: git git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git
@@ -21180,7 +21183,7 @@ F: Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
2118021183
F: drivers/i2c/busses/i2c-qcom-cci.c
2118121184

2118221185
QUALCOMM INTERCONNECT BWMON DRIVER
21183-
M: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
21186+
M: Krzysztof Kozlowski <krzk@kernel.org>
2118421187
L: linux-arm-msm@vger.kernel.org
2118521188
S: Maintained
2118621189
F: Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml
@@ -21301,7 +21304,7 @@ F: Documentation/tee/qtee.rst
2130121304
F: drivers/tee/qcomtee/
2130221305

2130321306
QUALCOMM TRUST ZONE MEMORY ALLOCATOR
21304-
M: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
21307+
M: Bartosz Golaszewski <brgl@kernel.org>
2130521308
L: linux-arm-msm@vger.kernel.org
2130621309
S: Maintained
2130721310
F: drivers/firmware/qcom/qcom_tzmem.c
@@ -25669,7 +25672,7 @@ F: Documentation/devicetree/bindings/crypto/ti,am62l-dthev2.yaml
2566925672
F: drivers/crypto/ti/
2567025673

2567125674
TI DAVINCI MACHINE SUPPORT
25672-
M: Bartosz Golaszewski <brgl@bgdev.pl>
25675+
M: Bartosz Golaszewski <brgl@kernel.org>
2567325676
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
2567425677
S: Maintained
2567525678
T: git git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 6
33
PATCHLEVEL = 18
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc6
5+
EXTRAVERSION = -rc7
66
NAME = Baby Opossum Posse
77

88
# *DOCUMENTATION*

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-fuji-data64.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,3 +1254,17 @@
12541254
max-frequency = <25000000>;
12551255
bus-width = <4>;
12561256
};
1257+
1258+
/*
1259+
* FIXME: rgmii delay is introduced by MAC (configured in u-boot now)
1260+
* instead of PCB on fuji board, so the "phy-mode" should be updated to
1261+
* "rgmii-[tx|rx]id" when the aspeed-mac driver can handle the delay
1262+
* properly.
1263+
*/
1264+
&mac3 {
1265+
status = "okay";
1266+
phy-mode = "rgmii";
1267+
phy-handle = <&ethphy3>;
1268+
pinctrl-names = "default";
1269+
pinctrl-0 = <&pinctrl_rgmii4_default>;
1270+
};

arch/arm/boot/dts/broadcom/bcm47189-luxul-xap-1440.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
mdio {
5656
/delete-node/ switch@1e;
5757

58-
bcm54210e: ethernet-phy@0 {
59-
reg = <0>;
58+
bcm54210e: ethernet-phy@25 {
59+
reg = <25>;
6060
};
6161
};
6262
};

arch/arm/boot/dts/nxp/imx/imx51-zii-rdu1.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
pinctrl-0 = <&pinctrl_audmux>;
260260
status = "okay";
261261

262-
ssi2 {
262+
mux-ssi2 {
263263
fsl,audmux-port = <1>;
264264
fsl,port-config = <
265265
(IMX_AUDMUX_V2_PTCR_SYN |
@@ -271,7 +271,7 @@
271271
>;
272272
};
273273

274-
aud3 {
274+
mux-aud3 {
275275
fsl,audmux-port = <2>;
276276
fsl,port-config = <
277277
IMX_AUDMUX_V2_PTCR_SYN

0 commit comments

Comments
 (0)