diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/reg_script.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/reg_script.c b/src/lib/reg_script.c index ace9325f13..16efa36c5d 100644 --- a/src/lib/reg_script.c +++ b/src/lib/reg_script.c @@ -478,9 +478,10 @@ static uint64_t reg_script_read(struct reg_script_context *ctx) /* Read from the platform specific bus */ bus = find_bus(step); - if (NULL != bus) + if (NULL != bus) { value = bus->reg_script_read(ctx); break; + } } printk(BIOS_ERR, "Unsupported read type (0x%x) for this device!\n", |