Thread (1 message) 1 message, 1 author, 2012-09-03

Re: [PATCH 2/6 v2] ARM: integrator: check PL010 device name rather than base address

From: Linus Walleij <hidden>
Date: 2012-09-03 19:51:21
Also in: linux-arm-kernel

On Mon, Sep 3, 2012 at 9:40 PM, Linus Walleij [off-list ref] wrote:
On Sat, Sep 1, 2012 at 8:32 PM, Arnd Bergmann [off-list ref] wrote:
quoted
On Saturday 01 September 2012, Linus Walleij wrote:
quoted
-       if (dev == &uart0_device) {
+       if (!strcmp(dev_name(&dev->dev), "uart0")) {
                rts_mask = 1 << 4;
                dtr_mask = 1 << 5;
        } else {
Maybe it's possible to compare the base pointer against INTEGRATOR_UART0_BASE instead?
Nope, that is an ioremapped() base, I have no clue what it may be.
But hey I have the struct amba_device there, so the mem resource is there
indeed :-) I'll fix!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help