Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

device.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Simon Glass's avatar
      0379597e
      dm: core: Don't set pinctrl for pinctrl devices · 0379597e
      Simon Glass authored
      
      There is sort-of race condition when a pinctrl device is probed. The pinctrl
      function is called which may end up using the same device as is being
      probed. This results in operations being used before the device is actually
      probed.
      
      For now, disallow pinctrl operations on pinctrl devices while probing. An
      alternative solution would be to move the operation to later in the
      device_probe() function (for pinctrl devices only) but this needs more
      thought.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      0379597e
      History
      dm: core: Don't set pinctrl for pinctrl devices
      Simon Glass authored
      
      There is sort-of race condition when a pinctrl device is probed. The pinctrl
      function is called which may end up using the same device as is being
      probed. This results in operations being used before the device is actually
      probed.
      
      For now, disallow pinctrl operations on pinctrl devices while probing. An
      alternative solution would be to move the operation to later in the
      device_probe() function (for pinctrl devices only) but this needs more
      thought.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    config_phylib_all_drivers.h NaN GiB