summaryrefslogtreecommitdiff
path: root/drivers/staging/cg2900/mfd/cg2900_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/cg2900/mfd/cg2900_core.c')
-rw-r--r--drivers/staging/cg2900/mfd/cg2900_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/cg2900/mfd/cg2900_core.c b/drivers/staging/cg2900/mfd/cg2900_core.c
index 66a452f817a..6ac27748e44 100644
--- a/drivers/staging/cg2900/mfd/cg2900_core.c
+++ b/drivers/staging/cg2900/mfd/cg2900_core.c
@@ -380,6 +380,8 @@ static void work_hw_registered(struct work_struct *work)
if (BOOT_READY != info->boot_state) {
dev_err(dev->dev,
"Could not read out revision from the chip\n");
+ info->boot_state = BOOT_FAILED;
+ dev->t_cb.set_chip_power(dev, false);
return;
}