diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/regmap/regmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index a941dcfe7590..d0c81d1f409c 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c | |||
@@ -1717,7 +1717,7 @@ int regmap_async_complete(struct regmap *map) | |||
1717 | int ret; | 1717 | int ret; |
1718 | 1718 | ||
1719 | /* Nothing to do with no async support */ | 1719 | /* Nothing to do with no async support */ |
1720 | if (!map->bus->async_write) | 1720 | if (!map->bus || !map->bus->async_write) |
1721 | return 0; | 1721 | return 0; |
1722 | 1722 | ||
1723 | trace_regmap_async_complete_start(map->dev); | 1723 | trace_regmap_async_complete_start(map->dev); |