diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:10:50 +0000 |
---|---|---|
committer | Andy Green <andy@openmoko.com> | 2008-11-19 17:10:50 +0000 |
commit | 6d4476219a0c922e2dba05fa854f29243dc60106 (patch) | |
tree | ed744899c3209d7e5dc480c4c3d979ebd1d66b71 /drivers/power/gta02_hdq.c | |
parent | ebe3917cd77273111c55aca246fec16d6f96666f (diff) |
tracking-2.6.27-rc2-fix-fiq.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/power/gta02_hdq.c')
-rw-r--r-- | drivers/power/gta02_hdq.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/power/gta02_hdq.c b/drivers/power/gta02_hdq.c index 159daa99c3c..97cc2188f99 100644 --- a/drivers/power/gta02_hdq.c +++ b/drivers/power/gta02_hdq.c @@ -199,6 +199,11 @@ static int __init gta02hdq_probe(struct platform_device *pdev) if (!r) return -EINVAL; + if (!fiq_ready) { + printk(KERN_ERR "hdq probe fails on fiq not ready\n"); + return -EINVAL; + } + platform_set_drvdata(pdev, NULL); mutex_init(&fiq_ipc.hdq_lock); |