diff options
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | 2013-05-22 18:10:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-22 18:19:18 -0400 |
commit | 0797c3a3e9660682b5df80911f35b523995a40bd (patch) | |
tree | 61358f065e819cebd48902063b064776d49e7518 /drivers/staging | |
parent | ed644baab64d5c2e6e130a4794680eb06f7da81c (diff) |
staging: dwc2: remove compile warning for USB_DWC2_TRACK_MISSED_SOFS
Remove the compile-time warning for this config option, and instead
warn that it is experimental in the Kconfig text
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/dwc2/Kconfig | 1 | ||||
-rw-r--r-- | drivers/staging/dwc2/hcd_intr.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/dwc2/Kconfig b/drivers/staging/dwc2/Kconfig index f0b4739c65a1..609d35c19c35 100644 --- a/drivers/staging/dwc2/Kconfig +++ b/drivers/staging/dwc2/Kconfig | |||
@@ -39,6 +39,7 @@ config USB_DWC2_TRACK_MISSED_SOFS | |||
39 | bool "Enable Missed SOF Tracking" | 39 | bool "Enable Missed SOF Tracking" |
40 | help | 40 | help |
41 | Say Y here to enable logging of missed SOF events to the dmesg log. | 41 | Say Y here to enable logging of missed SOF events to the dmesg log. |
42 | WARNING: This feature is still experimental. | ||
42 | If in doubt, say N. | 43 | If in doubt, say N. |
43 | 44 | ||
44 | config USB_DWC2_DEBUG_PERIODIC | 45 | config USB_DWC2_DEBUG_PERIODIC |
diff --git a/drivers/staging/dwc2/hcd_intr.c b/drivers/staging/dwc2/hcd_intr.c index 6e5dbed6ccec..e24062f0a49e 100644 --- a/drivers/staging/dwc2/hcd_intr.c +++ b/drivers/staging/dwc2/hcd_intr.c | |||
@@ -56,8 +56,6 @@ | |||
56 | static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) | 56 | static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) |
57 | { | 57 | { |
58 | #ifdef CONFIG_USB_DWC2_TRACK_MISSED_SOFS | 58 | #ifdef CONFIG_USB_DWC2_TRACK_MISSED_SOFS |
59 | #warning Compiling code to track missed SOFs | ||
60 | |||
61 | u16 curr_frame_number = hsotg->frame_number; | 59 | u16 curr_frame_number = hsotg->frame_number; |
62 | 60 | ||
63 | if (hsotg->frame_num_idx < FRAME_NUM_ARRAY_SIZE) { | 61 | if (hsotg->frame_num_idx < FRAME_NUM_ARRAY_SIZE) { |