Skip to content

Commit c76f1f5

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.12.y' into rpi-6.12.y
2 parents cd70969 + 5fb0303 commit c76f1f5

File tree

37 files changed

+343
-140
lines changed

37 files changed

+343
-140
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 12
4-
SUBLEVEL = 70
4+
SUBLEVEL = 73
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

drivers/bluetooth/btusb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,8 @@ static const struct usb_device_id quirks_table[] = {
519519
BTUSB_WIDEBAND_SPEECH },
520520
{ USB_DEVICE(0x2001, 0x332a), .driver_info = BTUSB_REALTEK |
521521
BTUSB_WIDEBAND_SPEECH },
522+
{ USB_DEVICE(0x7392, 0xe611), .driver_info = BTUSB_REALTEK |
523+
BTUSB_WIDEBAND_SPEECH },
522524

523525
/* Realtek 8852AE Bluetooth devices */
524526
{ USB_DEVICE(0x0bda, 0x2852), .driver_info = BTUSB_REALTEK |

drivers/bus/mhi/host/pci_generic.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,16 @@ static const struct mhi_pci_dev_info mhi_telit_fn990b40_info = {
744744
.edl_trigger = true,
745745
};
746746

747+
static const struct mhi_pci_dev_info mhi_telit_fe990b40_info = {
748+
.name = "telit-fe990b40",
749+
.config = &modem_telit_fn920c04_config,
750+
.bar_num = MHI_PCI_DEFAULT_BAR_NUM,
751+
.dma_data_width = 32,
752+
.sideband_wake = false,
753+
.mru_default = 32768,
754+
.edl_trigger = true,
755+
};
756+
747757
static const struct mhi_pci_dev_info mhi_netprisma_lcur57_info = {
748758
.name = "netprisma-lcur57",
749759
.edl = "qcom/prog_firehose_sdx24.mbn",
@@ -792,6 +802,9 @@ static const struct pci_device_id mhi_pci_id_table[] = {
792802
/* Telit FN990B40 (sdx72) */
793803
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0309, 0x1c5d, 0x201a),
794804
.driver_data = (kernel_ulong_t) &mhi_telit_fn990b40_info },
805+
/* Telit FE990B40 (sdx72) */
806+
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_QCOM, 0x0309, 0x1c5d, 0x2025),
807+
.driver_data = (kernel_ulong_t) &mhi_telit_fe990b40_info },
795808
{ PCI_DEVICE(PCI_VENDOR_ID_QCOM, 0x0309),
796809
.driver_data = (kernel_ulong_t) &mhi_qcom_sdx75_info },
797810
{ PCI_DEVICE(PCI_VENDOR_ID_QUECTEL, 0x1001), /* EM120R-GL (sdx24) */

drivers/crypto/intel/iaa/iaa_crypto_main.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,15 +223,13 @@ static struct iaa_compression_mode *iaa_compression_modes[IAA_COMP_MODES_MAX];
223223

224224
static int find_empty_iaa_compression_mode(void)
225225
{
226-
int i = -EINVAL;
226+
int i;
227227

228-
for (i = 0; i < IAA_COMP_MODES_MAX; i++) {
229-
if (iaa_compression_modes[i])
230-
continue;
231-
break;
232-
}
228+
for (i = 0; i < IAA_COMP_MODES_MAX; i++)
229+
if (!iaa_compression_modes[i])
230+
return i;
233231

234-
return i;
232+
return -EINVAL;
235233
}
236234

237235
static struct iaa_compression_mode *find_iaa_compression_mode(const char *name, int *idx)

drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ static ssize_t ucode_load_store(struct device *dev,
13361336
int del_grp_idx = -1;
13371337
int ucode_idx = 0;
13381338

1339-
if (strlen(buf) > OTX_CPT_UCODE_NAME_LENGTH)
1339+
if (count >= OTX_CPT_UCODE_NAME_LENGTH)
13401340
return -EINVAL;
13411341

13421342
eng_grps = container_of(attr, struct otx_cpt_eng_grps, ucode_load_attr);

drivers/crypto/omap-crypto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static int omap_crypto_copy_sg_lists(int total, int bs,
2121
struct scatterlist *tmp;
2222

2323
if (!(flags & OMAP_CRYPTO_FORCE_SINGLE_ENTRY)) {
24-
new_sg = kmalloc_array(n, sizeof(*sg), GFP_KERNEL);
24+
new_sg = kmalloc_array(n, sizeof(*new_sg), GFP_KERNEL);
2525
if (!new_sg)
2626
return -ENOMEM;
2727

drivers/crypto/virtio/virtio_crypto_core.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,20 @@ static void virtcrypto_done_task(unsigned long data)
7575
struct data_queue *data_vq = (struct data_queue *)data;
7676
struct virtqueue *vq = data_vq->vq;
7777
struct virtio_crypto_request *vc_req;
78+
unsigned long flags;
7879
unsigned int len;
7980

81+
spin_lock_irqsave(&data_vq->lock, flags);
8082
do {
8183
virtqueue_disable_cb(vq);
8284
while ((vc_req = virtqueue_get_buf(vq, &len)) != NULL) {
85+
spin_unlock_irqrestore(&data_vq->lock, flags);
8386
if (vc_req->alg_cb)
8487
vc_req->alg_cb(vc_req, len);
88+
spin_lock_irqsave(&data_vq->lock, flags);
8589
}
8690
} while (!virtqueue_enable_cb(vq));
91+
spin_unlock_irqrestore(&data_vq->lock, flags);
8792
}
8893

8994
static void virtcrypto_dataq_callback(struct virtqueue *vq)

drivers/crypto/virtio/virtio_crypto_skcipher_algs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,6 @@ int virtio_crypto_skcipher_crypt_req(
550550
if (ret < 0)
551551
return ret;
552552

553-
virtqueue_kick(data_vq->vq);
554-
555553
return 0;
556554
}
557555

drivers/gpio/gpio-omap.c

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -799,10 +799,13 @@ static struct platform_device omap_mpuio_device = {
799799

800800
static inline void omap_mpuio_init(struct gpio_bank *bank)
801801
{
802-
platform_set_drvdata(&omap_mpuio_device, bank);
802+
static bool registered;
803803

804-
if (platform_driver_register(&omap_mpuio_driver) == 0)
805-
(void) platform_device_register(&omap_mpuio_device);
804+
platform_set_drvdata(&omap_mpuio_device, bank);
805+
if (!registered) {
806+
(void)platform_device_register(&omap_mpuio_device);
807+
registered = true;
808+
}
806809
}
807810

808811
/*---------------------------------------------------------------------*/
@@ -1572,13 +1575,24 @@ static struct platform_driver omap_gpio_driver = {
15721575
*/
15731576
static int __init omap_gpio_drv_reg(void)
15741577
{
1575-
return platform_driver_register(&omap_gpio_driver);
1578+
int ret;
1579+
1580+
ret = platform_driver_register(&omap_mpuio_driver);
1581+
if (ret)
1582+
return ret;
1583+
1584+
ret = platform_driver_register(&omap_gpio_driver);
1585+
if (ret)
1586+
platform_driver_unregister(&omap_mpuio_driver);
1587+
1588+
return ret;
15761589
}
15771590
postcore_initcall(omap_gpio_drv_reg);
15781591

15791592
static void __exit omap_gpio_exit(void)
15801593
{
15811594
platform_driver_unregister(&omap_gpio_driver);
1595+
platform_driver_unregister(&omap_mpuio_driver);
15821596
}
15831597
module_exit(omap_gpio_exit);
15841598

drivers/net/bareudp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ static int bareudp_xmit_skb(struct sk_buff *skb, struct net_device *dev,
317317
__be32 saddr;
318318
int err;
319319

320-
if (!skb_vlan_inet_prepare(skb, skb->protocol != htons(ETH_P_TEB)))
320+
if (skb_vlan_inet_prepare(skb, skb->protocol != htons(ETH_P_TEB)))
321321
return -EINVAL;
322322

323323
if (!sock)
@@ -387,7 +387,7 @@ static int bareudp6_xmit_skb(struct sk_buff *skb, struct net_device *dev,
387387
__be16 sport;
388388
int err;
389389

390-
if (!skb_vlan_inet_prepare(skb, skb->protocol != htons(ETH_P_TEB)))
390+
if (skb_vlan_inet_prepare(skb, skb->protocol != htons(ETH_P_TEB)))
391391
return -EINVAL;
392392

393393
if (!sock)

0 commit comments

Comments
 (0)