diff options
| author | Anand Gadiyar <[email protected]> | 2010-03-29 11:24:51 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-04-30 16:25:11 +0000 |
| commit | 6d602610099632a9a15ef6d2bc9fd7b7d6aeb63e (patch) | |
| tree | 2b1bf2f40451d24160556cad7d161c87b3930d80 /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | USB: oxu210hp: release spinlock on error path (diff) | |
| download | kernel-6d602610099632a9a15ef6d2bc9fd7b7d6aeb63e.tar.gz kernel-6d602610099632a9a15ef6d2bc9fd7b7d6aeb63e.zip | |
USB: fix build on OMAPs if CONFIG_PM_RUNTIME is not set
With patch as1329 (USB: convert to the runtime PM framework),
we make USB_SUSPEND depend on PM_RUNTIME instead of CONFIG_PM.
Also, CONFIG_USB_OTG selects CONFIG_USB_SUSPEND.
If PM_RUNTIME is not enabled, and we try to enable USB_OTG,
we will end up with CONFIG_USB_SUSPEND selected. This is
due to a known bug with the select statement.
This makes the build break on various OMAP configs (which
have CONFIG_USB_OTG set by default, but do not yet have
CONFIG_PM_RUNTIME enabled).
Avoid this by changing the logic for CONFIG_USB_OTG from
"select USB_SUSPEND" to "depends on USB_SUSPEND"
Signed-off-by: Anand Gadiyar <[email protected]>
CC: Michal Marek <[email protected]>
CC: Tony Lindgren <[email protected]>
CC: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions
