Thread (6 messages) 6 messages, 2 authors, 2012-09-09

Re: [PATCH v3 2/3] bcma: add GPIO driver for SoCs

From: Rafał Miłecki <zajec5@gmail.com>
Date: 2012-09-03 19:16:03
Also in: linux-wireless

2012/8/31 Hauke Mehrtens [off-list ref]:
quoted hunk ↗ jump to hunk
+u32 bcma_gpio_in(struct bcma_bus *bus, u32 mask)
+{
+       unsigned long flags;
+       u32 res = 0;
+
+       spin_lock_irqsave(&bus->gpio_lock, flags);
+       res = bcma_chipco_gpio_in(&bus->drv_cc, mask);
+       spin_unlock_irqrestore(&bus->gpio_lock, flags);
+
+       return res;
+}
+EXPORT_SYMBOL(bcma_gpio_in);

Could we put here direct ops on ChipCommon regs and drop GPIO
functions from driver_chipcommon.c?

-- 
Rafał
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help