ath9k ARM build error with v3.13-8330-g4ba9920
From: Josh Boyer
Date: Sun Jan 26 2014 - 11:00:00 EST
Hi All,
This commit:
commit 4dc78c437a0a2ac152a2b2c5e91a814a6ef3599e
Author: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx>
Date: Wed Dec 18 09:53:26 2013 +0530
ath9k: Fix RTC reset delay
The delay that is required after issuing a RTC reset
varies for each chip. Handle this properly.
Signed-off-by: Sujith Manoharan <c_manoha@xxxxxxxxxxxxxxxx>
Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
adds a udelay(10000) call to the ath9k driver. This will cause a
build error on various ARM configs because the value passed to udelay
is too large:
ERROR: "__bad_udelay" [drivers/net/wireless/ath/ath9k/ath9k_hw.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Is the 10000 microsecond udelay really required? I believe the limit
on ARM is 2000. Perhaps something else could be done in this case?
josh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/