aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/base/regmap/regmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c
index 95920583e31e..e0d0c7d8a5c5 100644
--- a/drivers/base/regmap/regmap.c
+++ b/drivers/base/regmap/regmap.c
@@ -1853,7 +1853,7 @@ int regmap_async_complete(struct regmap *map)
1853 int ret; 1853 int ret;
1854 1854
1855 /* Nothing to do with no async support */ 1855 /* Nothing to do with no async support */
1856 if (!map->bus->async_write) 1856 if (!map->bus || !map->bus->async_write)
1857 return 0; 1857 return 0;
1858 1858
1859 trace_regmap_async_complete_start(map->dev); 1859 trace_regmap_async_complete_start(map->dev);