Message ID | 20190106083754.6004-7-afaerber@suse.de |
---|---|
State | New |
Headers | show |
Series | net: lora: sx130x: Fixes for enabling regcache | expand |
diff --git a/drivers/net/lora/sx130x.c b/drivers/net/lora/sx130x.c index 457f2396d9ee..bc2d4b1165d8 100644 --- a/drivers/net/lora/sx130x.c +++ b/drivers/net/lora/sx130x.c @@ -692,7 +692,7 @@ int sx130x_probe(struct device *dev) return ret; } - ret = sx130x_field_write(priv, F_RADIO_B_EN, 1); + ret = sx130x_field_force_write(priv, F_RADIO_B_EN, 1); if (ret) { dev_err(dev, "radio B enable failed (%d)\n", ret); return ret;
Ensure timing is as expected by forcing a register write before waiting on its outcome. Cc: Ben Whitten <ben.whitten@gmail.com> Signed-off-by: Andreas Färber <afaerber@suse.de> --- drivers/net/lora/sx130x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.16.4