Commit 77232a24 authored by Alessandro Rubini's avatar Alessandro Rubini

kernel/spec-fmc: bugfix: mark HAS_GOLDEN at outset

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 611f637c
......@@ -410,6 +410,7 @@ int spec_fmc_create(struct spec_dev *spec)
ret = check_golden(fmc);
if (ret)
goto out_free;
fmc->flags = FMC_DEVICE_HAS_GOLDEN;
ret = spec_i2c_init(fmc);
if (ret)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment