bcm2835-sdhost: Fail gracefully with bad dtb
authorPhil Elwell <phil@raspberrypi.com>
Mon, 11 Dec 2023 11:20:28 +0000 (11:20 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:23 +0000 (11:35 +0000)
commitac37c7cb28228b4e898c4c5b3c605dbc9d361f75
treef4a8b80fdfd4a4edc1f6829f59b4a771ac85bedf
parent5780dfd396c4376c46c86dd8cc05ebd87b19afe1
bcm2835-sdhost: Fail gracefully with bad dtb

The logging timestamps depend on the existence of a bcm2835-system-timer
node. If this node doesn't exist, leave the logging disabled rather than
crashing.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/mmc/host/bcm2835-sdhost.c