Commit bdbddf72a2ab for kernel

commit bdbddf72a2ab1cfea699959795d70df3931eefe7
Merge: f7fae9b4d38f cfd00b7e26c8
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Tue Feb 10 20:45:30 2026 -0800

    Merge tag 'soc-drivers-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

    Pull SoC driver updates from Arnd Bergmann:
     "There are are a number of to firmware drivers, in particular the TEE
      subsystem:

       - a bus callback for TEE firmware that device drivers can register to

       - sysfs support for tee firmware information

       - minor updates to platform specific TEE drivers for AMD, NXP,
         Qualcomm and the generic optee driver

       - ARM SCMI firmware refactoring to improve the protocol discover
         among other fixes and cleanups

       - ARM FF-A firmware interoperability improvements

      The reset controller and memory controller subsystems gain support for
      additional hardware platforms from Mediatek, Renesas, NXP, Canaan and
      SpacemiT.

      Most of the other changes are for random drivers/soc code. Among a
      number of cleanups and newly added hardware support, including:

       - Mediatek MT8196 DVFS power management and mailbox support

       - Qualcomm SCM firmware and MDT loader refactoring, as part of the
         new Glymur platform support.

       - NXP i.MX9 System Manager firmware support for accessing the syslog

       - Minor updates for TI, Renesas, Samsung, Apple, Marvell and AMD
         SoCs"

    * tag 'soc-drivers-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (171 commits)
      bus: fsl-mc: fix an error handling in fsl_mc_device_add()
      reset: spacemit: Add SpacemiT K3 reset driver
      reset: spacemit: Extract common K1 reset code
      reset: Create subdirectory for SpacemiT drivers
      dt-bindings: soc: spacemit: Add K3 reset support and IDs
      reset: canaan: k230: drop OF dependency and enable by default
      reset: rzg2l-usbphy-ctrl: Add suspend/resume support
      reset: rzg2l-usbphy-ctrl: Propagate the return value of regmap_field_update_bits()
      reset: gpio: check the return value of gpiod_set_value_cansleep()
      reset: imx8mp-audiomix: Support i.MX8ULP SIM LPAV
      reset: imx8mp-audiomix: Extend the driver usage
      reset: imx8mp-audiomix: Switch to using regmap API
      reset: imx8mp-audiomix: Drop unneeded macros
      soc: fsl: qe: qe_ports_ic: Consolidate chained IRQ handler install/remove
      soc: mediatek: mtk-cmdq: Add mminfra_offset adjustment for DRAM addresses
      soc: mediatek: mtk-cmdq: Extend cmdq_pkt_write API for SoCs without subsys ID
      soc: mediatek: mtk-cmdq: Add pa_base parsing for hardware without subsys ID support
      soc: mediatek: mtk-cmdq: Add cmdq_get_mbox_priv() in cmdq_pkt_create()
      mailbox: mtk-cmdq: Add driver data to support for MT8196
      mailbox: mtk-cmdq: Add mminfra_offset configuration for DRAM transaction
      ...

diff --cc drivers/char/hw_random/optee-rng.c
index 1cb741a6d112,5a3fa0b38497..72af9f4aa810
--- a/drivers/char/hw_random/optee-rng.c
+++ b/drivers/char/hw_random/optee-rng.c
@@@ -205,12 -205,15 +205,12 @@@ static int get_optee_rng_info(struct de

  static int optee_ctx_match(struct tee_ioctl_version_data *ver, const void *data)
  {
 -	if (ver->impl_id == TEE_IMPL_ID_OPTEE)
 -		return 1;
 -	else
 -		return 0;
 +	return (ver->impl_id == TEE_IMPL_ID_OPTEE);
  }

- static int optee_rng_probe(struct device *dev)
+ static int optee_rng_probe(struct tee_client_device *rng_device)
  {
- 	struct tee_client_device *rng_device = to_tee_client_device(dev);
+ 	struct device *dev = &rng_device->dev;
  	int ret = 0, err = -ENODEV;
  	struct tee_ioctl_open_session_arg sess_arg;