diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-06-29 19:44:43 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-07-09 16:36:06 -0400 |
commit | 6270d1c39c96088c3cbbab35a2658d07cee364ae (patch) | |
tree | 750e46e959577e05380fa2baeef5c9b4d34a9d20 /drivers/bcma | |
parent | e84a38eac8186acee940df7edf64b617cf014d8e (diff) |
bcma: remove chip ids doing nothing from PMU initialization.
The list of devices where nothing has to be done in
bcma_pmu_resources_init() and bcma_pmu_workarounds() is longer as all
the SoCs are missing there and some new devices will be added in some
time later. This patch changes the default case to just log on debug
level and also let the other devices which do not need any special
handling into the default case, instead of adding the missing 8 SoC
chip ids.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma')
-rw-r--r-- | drivers/bcma/driver_chipcommon_pmu.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/bcma/driver_chipcommon_pmu.c b/drivers/bcma/driver_chipcommon_pmu.c index 069fca7ad6c0..1a7a72fb77d6 100644 --- a/drivers/bcma/driver_chipcommon_pmu.c +++ b/drivers/bcma/driver_chipcommon_pmu.c | |||
@@ -64,13 +64,9 @@ static void bcma_pmu_resources_init(struct bcma_drv_cc *cc) | |||
64 | min_msk = 0x200D; | 64 | min_msk = 0x200D; |
65 | max_msk = 0xFFFF; | 65 | max_msk = 0xFFFF; |
66 | break; | 66 | break; |
67 | case BCMA_CHIP_ID_BCM4331: | ||
68 | case BCMA_CHIP_ID_BCM43224: | ||
69 | case BCMA_CHIP_ID_BCM43225: | ||
70 | break; | ||
71 | default: | 67 | default: |
72 | pr_err("PMU resource config unknown for device 0x%04X\n", | 68 | pr_debug("PMU resource config unknown or not needed for device 0x%04X\n", |
73 | bus->chipinfo.id); | 69 | bus->chipinfo.id); |
74 | } | 70 | } |
75 | 71 | ||
76 | /* Set the resource masks. */ | 72 | /* Set the resource masks. */ |
@@ -135,11 +131,9 @@ void bcma_pmu_workarounds(struct bcma_drv_cc *cc) | |||
135 | BCMA_CCTRL_43224B0_12MA_LED_DRIVE); | 131 | BCMA_CCTRL_43224B0_12MA_LED_DRIVE); |
136 | } | 132 | } |
137 | break; | 133 | break; |
138 | case BCMA_CHIP_ID_BCM43225: | ||
139 | break; | ||
140 | default: | 134 | default: |
141 | pr_err("Workarounds unknown for device 0x%04X\n", | 135 | pr_debug("Workarounds unknown or not needed for device 0x%04X\n", |
142 | bus->chipinfo.id); | 136 | bus->chipinfo.id); |
143 | } | 137 | } |
144 | } | 138 | } |
145 | 139 | ||