Skip to content

Commit 0e88821

Browse files
author
NipaLocal
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Signed-off-by: NipaLocal <nipa@local>
2 parents a8abe8e + 8df206f commit 0e88821

File tree

61 files changed

+312
-167
lines changed

Some content is hidden

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

61 files changed

+312
-167
lines changed

CREDITS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2036,6 +2036,10 @@ S: Botanicka' 68a
20362036
S: 602 00 Brno
20372037
S: Czech Republic
20382038

2039+
N: Karsten Keil
2040+
2041+
D: ISDN subsystem maintainer
2042+
20392043
N: Jakob Kemi
20402044
20412045
D: V4L W9966 Webcam driver

Documentation/devicetree/bindings/net/microchip,sparx5-switch.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ allOf:
180180
then:
181181
properties:
182182
reg:
183-
minItems: 2
183+
maxItems: 2
184184
reg-names:
185-
minItems: 2
185+
maxItems: 2
186186
else:
187187
properties:
188188
reg:

Documentation/netlink/specs/dpll.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,8 @@ operations:
605605
reply: &pin-attrs
606606
attributes:
607607
- id
608+
- module-name
609+
- clock-id
608610
- board-label
609611
- panel-label
610612
- package-label

MAINTAINERS

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13247,10 +13247,8 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git mast
1324713247
F: drivers/infiniband/ulp/isert
1324813248

1324913249
ISDN/CMTP OVER BLUETOOTH
13250-
M: Karsten Keil <[email protected]>
13251-
L: [email protected] (subscribers-only)
1325213250
13253-
S: Odd Fixes
13251+
S: Orphan
1325413252
W: http://www.isdn4linux.de
1325513253
F: Documentation/isdn/
1325613254
F: drivers/isdn/capi/
@@ -13259,10 +13257,8 @@ F: include/uapi/linux/isdn/
1325913257
F: net/bluetooth/cmtp/
1326013258

1326113259
ISDN/mISDN SUBSYSTEM
13262-
M: Karsten Keil <[email protected]>
13263-
L: [email protected] (subscribers-only)
1326413260
13265-
S: Maintained
13261+
S: Orphan
1326613262
W: http://www.isdn4linux.de
1326713263
F: drivers/isdn/Kconfig
1326813264
F: drivers/isdn/Makefile
@@ -21326,6 +21322,7 @@ F: drivers/media/platform/qcom/venus/
2132621322
QUALCOMM WCN36XX WIRELESS DRIVER
2132721323
M: Loic Poulain <[email protected]>
2132821324
21325+
2132921326
S: Supported
2133021327
W: https://wireless.wiki.kernel.org/en/users/Drivers/wcn36xx
2133121328
F: drivers/net/wireless/ath/wcn36xx/

drivers/bcma/main.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ static int bcma_register_devices(struct bcma_bus *bus)
294294
int err;
295295

296296
list_for_each_entry(core, &bus->cores, list) {
297+
struct device_node *np;
298+
297299
/* We support that core ourselves */
298300
switch (core->id.id) {
299301
case BCMA_CORE_4706_CHIPCOMMON:
@@ -311,6 +313,10 @@ static int bcma_register_devices(struct bcma_bus *bus)
311313
if (bcma_is_core_needed_early(core->id.id))
312314
continue;
313315

316+
np = core->dev.of_node;
317+
if (np && !of_device_is_available(np))
318+
continue;
319+
314320
/* Only first GMAC core on BCM4706 is connected and working */
315321
if (core->id.id == BCMA_CORE_4706_MAC_GBIT &&
316322
core->core_unit > 0)

drivers/bluetooth/bpa10x.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ struct bpa10x_data {
4141
struct usb_anchor rx_anchor;
4242

4343
struct sk_buff *rx_skb[2];
44+
struct hci_uart hu;
4445
};
4546

4647
static void bpa10x_tx_complete(struct urb *urb)
@@ -96,7 +97,7 @@ static void bpa10x_rx_complete(struct urb *urb)
9697
if (urb->status == 0) {
9798
bool idx = usb_pipebulk(urb->pipe);
9899

99-
data->rx_skb[idx] = h4_recv_buf(hdev, data->rx_skb[idx],
100+
data->rx_skb[idx] = h4_recv_buf(&data->hu, data->rx_skb[idx],
100101
urb->transfer_buffer,
101102
urb->actual_length,
102103
bpa10x_recv_pkts,
@@ -388,6 +389,7 @@ static int bpa10x_probe(struct usb_interface *intf,
388389
hci_set_drvdata(hdev, data);
389390

390391
data->hdev = hdev;
392+
data->hu.hdev = hdev;
391393

392394
SET_HCIDEV_DEV(hdev, &intf->dev);
393395

drivers/bluetooth/btintel_pcie.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,11 +1467,6 @@ static irqreturn_t btintel_pcie_irq_msix_handler(int irq, void *dev_id)
14671467
if (intr_hw & BTINTEL_PCIE_MSIX_HW_INT_CAUSES_GP1)
14681468
btintel_pcie_msix_gp1_handler(data);
14691469

1470-
/* This interrupt is triggered by the firmware after updating
1471-
* boot_stage register and image_response register
1472-
*/
1473-
if (intr_hw & BTINTEL_PCIE_MSIX_HW_INT_CAUSES_GP0)
1474-
btintel_pcie_msix_gp0_handler(data);
14751470

14761471
/* For TX */
14771472
if (intr_fh & BTINTEL_PCIE_MSIX_FH_INT_CAUSES_0) {
@@ -1487,6 +1482,12 @@ static irqreturn_t btintel_pcie_irq_msix_handler(int irq, void *dev_id)
14871482
btintel_pcie_msix_tx_handle(data);
14881483
}
14891484

1485+
/* This interrupt is triggered by the firmware after updating
1486+
* boot_stage register and image_response register
1487+
*/
1488+
if (intr_hw & BTINTEL_PCIE_MSIX_HW_INT_CAUSES_GP0)
1489+
btintel_pcie_msix_gp0_handler(data);
1490+
14901491
/*
14911492
* Before sending the interrupt the HW disables it to prevent a nested
14921493
* interrupt. This is done by writing 1 to the corresponding bit in

drivers/bluetooth/btmtksdio.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,6 +1270,12 @@ static void btmtksdio_reset(struct hci_dev *hdev)
12701270

12711271
sdio_claim_host(bdev->func);
12721272

1273+
/* set drv_pmctrl if BT is closed before doing reset */
1274+
if (!test_bit(BTMTKSDIO_FUNC_ENABLED, &bdev->tx_state)) {
1275+
sdio_enable_func(bdev->func);
1276+
btmtksdio_drv_pmctrl(bdev);
1277+
}
1278+
12731279
sdio_writel(bdev->func, C_INT_EN_CLR, MTK_REG_CHLPCR, NULL);
12741280
skb_queue_purge(&bdev->txq);
12751281
cancel_work_sync(&bdev->txrx_work);
@@ -1285,6 +1291,12 @@ static void btmtksdio_reset(struct hci_dev *hdev)
12851291
goto err;
12861292
}
12871293

1294+
/* set fw_pmctrl back if BT is closed after doing reset */
1295+
if (!test_bit(BTMTKSDIO_FUNC_ENABLED, &bdev->tx_state)) {
1296+
btmtksdio_fw_pmctrl(bdev);
1297+
sdio_disable_func(bdev->func);
1298+
}
1299+
12881300
clear_bit(BTMTKSDIO_PATCH_ENABLED, &bdev->tx_state);
12891301
err:
12901302
sdio_release_host(bdev->func);

drivers/bluetooth/btmtkuart.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ struct btmtkuart_dev {
7979
u16 stp_dlen;
8080

8181
const struct btmtkuart_data *data;
82+
struct hci_uart hu;
8283
};
8384

8485
#define btmtkuart_is_standalone(bdev) \
@@ -368,7 +369,7 @@ static void btmtkuart_recv(struct hci_dev *hdev, const u8 *data, size_t count)
368369
sz_left -= adv;
369370
p_left += adv;
370371

371-
bdev->rx_skb = h4_recv_buf(bdev->hdev, bdev->rx_skb, p_h4,
372+
bdev->rx_skb = h4_recv_buf(&bdev->hu, bdev->rx_skb, p_h4,
372373
sz_h4, mtk_recv_pkts,
373374
ARRAY_SIZE(mtk_recv_pkts));
374375
if (IS_ERR(bdev->rx_skb)) {
@@ -858,6 +859,7 @@ static int btmtkuart_probe(struct serdev_device *serdev)
858859
}
859860

860861
bdev->hdev = hdev;
862+
bdev->hu.hdev = hdev;
861863

862864
hdev->bus = HCI_UART;
863865
hci_set_drvdata(hdev, bdev);

drivers/bluetooth/btnxpuart.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ struct btnxpuart_dev {
212212
struct ps_data psdata;
213213
struct btnxpuart_data *nxp_data;
214214
struct reset_control *pdn;
215+
struct hci_uart hu;
215216
};
216217

217218
#define NXP_V1_FW_REQ_PKT 0xa5
@@ -1756,7 +1757,7 @@ static size_t btnxpuart_receive_buf(struct serdev_device *serdev,
17561757

17571758
ps_start_timer(nxpdev);
17581759

1759-
nxpdev->rx_skb = h4_recv_buf(nxpdev->hdev, nxpdev->rx_skb, data, count,
1760+
nxpdev->rx_skb = h4_recv_buf(&nxpdev->hu, nxpdev->rx_skb, data, count,
17601761
nxp_recv_pkts, ARRAY_SIZE(nxp_recv_pkts));
17611762
if (IS_ERR(nxpdev->rx_skb)) {
17621763
int err = PTR_ERR(nxpdev->rx_skb);
@@ -1875,6 +1876,7 @@ static int nxp_serdev_probe(struct serdev_device *serdev)
18751876
reset_control_deassert(nxpdev->pdn);
18761877

18771878
nxpdev->hdev = hdev;
1879+
nxpdev->hu.hdev = hdev;
18781880

18791881
hdev->bus = HCI_UART;
18801882
hci_set_drvdata(hdev, nxpdev);

0 commit comments

Comments
 (0)