regulator: workaround self-referent regulators
Michał Mirosław authored
commit f5c042b2 upstream.

Workaround regulators whose supply name happens to be the same as its
own name. This fixes boards that used to work before the early supply
resolving was removed. The error message is left in place so that
offending drivers can be detected.

Fixes: aea6cb99

 ("regulator: resolve supply after creating regulator")
Cc: stable@vger.kernel.org
Reported-by: default avatarAhmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tested-by: Ahmad Fatoum <a.fatoum@pengutronix.de> # stpmic1
Link: https://lore.kernel.org/r/d703acde2a93100c3c7a81059d716c50ad1b1f52.1605226675.git.mirq-linux@rere.qmqm.pl

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
47a15b5c
Name Last commit Last update
Documentation powerpc/64s: flush L1D after user accesses
LICENSES LICENSES: Remove CC-BY-SA-4.0 license text
arch efi/x86: Free efi_pgd with free_pages()
block blk-cgroup: Pre-allocate tree node on blkg_conf_prep
certs export.h: remove VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR()
crypto crypto: algif_skcipher - EBUSY on aio should be an error
drivers regulator: workaround self-referent regulators
firmware Fix built-in early-load Intel microcode alignment
fs ext4: fix bogus warning in ext4_update_dx_flag()
include ip_tunnels: Set tunnel option flag when tunnel metadata is present
init printk: reduce LOG_BUF_SHIFT range for H8300
ipc ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
kernel fail_function: Remove a redundant mutex unlock
lib random32: make prandom_u32() output unpredictable
mm page_frag: Recover from memory pressure
net can: af_can: prevent potential access of uninitialized member in canfd_rcv()
samples misc: vop: add round_up(x,4) for vring_size to avoid kernel panic
scripts scripts/setlocalversion: make git describe output more reliable
security selinux: Fix error return code in sel_ib_pkey_sid_slow()
sound ALSA: hda/realtek: Add some Clove SSID in the ALC293(ALC1220)
tools perf lock: Don't free "lock_seq_stat" if read_count isn't zero
usr initramfs: restore default compression behavior
virt KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
.clang-format clang-format: Set IndentWrappedFunctionNames false
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.