diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/crb/tis.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drivers/crb/tis.c b/src/drivers/crb/tis.c index 5e81935d49..df45125f01 100644 --- a/src/drivers/crb/tis.c +++ b/src/drivers/crb/tis.c @@ -207,6 +207,11 @@ static struct device_operations __maybe_unused crb_ops = { static void enable_dev(struct device *dev) { + if (crb_tis_probe(NULL) == NULL) { + dev->enabled = 0; + return; + } + #if !DEVTREE_EARLY dev->ops = &crb_ops; #endif |