]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btmtksdio: Lookup device node only as fallback
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 8 Oct 2024 08:27:20 +0000 (16:27 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:31:12 +0000 (15:31 -0500)
commit6d83d955f6a1538aeeb810c2fa9c1aa91322839b
tree23fcf3c654c69b88a5f910b22e69c567e29a1007
parenta430c2a10c743dab5a3a07bc4e9544c55bd010fd
Bluetooth: btmtksdio: Lookup device node only as fallback

If the device tree is properly written, the SDIO function device node
should be correctly defined, and the mmc core in Linux should correctly
tie it to the device being probed.

Only fall back to searching for the device node by compatible if the
original device node tied to the device is incorrect, as seen in older
device trees.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> #
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btmtksdio.c