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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'hsi-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi

Pull HSI update from Sebastian Reichel:

- modernize IDA API

* tag 'hsi-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi:
HSI: omap_ssi: Remove usage of the deprecated ida_simple_xx() API

+3 -3
+3 -3
drivers/hsi/controllers/omap_ssi_core.c
··· 355 355 if (!omap_ssi) 356 356 return -ENOMEM; 357 357 358 - err = ida_simple_get(&platform_omap_ssi_ida, 0, 0, GFP_KERNEL); 358 + err = ida_alloc(&platform_omap_ssi_ida, GFP_KERNEL); 359 359 if (err < 0) 360 360 return err; 361 361 ssi->id = err; ··· 417 417 return 0; 418 418 419 419 out_err: 420 - ida_simple_remove(&platform_omap_ssi_ida, ssi->id); 420 + ida_free(&platform_omap_ssi_ida, ssi->id); 421 421 return err; 422 422 } 423 423 ··· 451 451 tasklet_kill(&omap_ssi->gdd_tasklet); 452 452 hsi_unregister_controller(ssi); 453 453 clk_notifier_unregister(omap_ssi->fck, &omap_ssi->fck_nb); 454 - ida_simple_remove(&platform_omap_ssi_ida, id); 454 + ida_free(&platform_omap_ssi_ida, id); 455 455 } 456 456 457 457 static inline int ssi_of_get_available_ports_count(const struct device_node *np)