linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* linux-3.4-rc1 PXA2xx PCMCIA possible regression
@ 2012-04-04  1:57 Paul Parsons
  2012-04-04  2:50 ` Rob Herring
  2012-04-04 13:08 ` Russell King - ARM Linux
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Parsons @ 2012-04-04  1:57 UTC (permalink / raw)
  To: linux-arm-kernel

On linux-3.3 the PCMCIA/CF on my hx4700 worked OK.

On linux-3.4-rc1 the PCMCIA/CF has stopped working:

pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 156)
pata_pcmcia: probe of 0.0 failed with error -12

I've traced the -ENOMEM error back to pcmcia_init_one() in
drivers/ata/pata_pcmcia.c:

   237		/* iomap */
   238		ret = -ENOMEM;
   239		io_addr = devm_ioport_map(&pdev->dev, io_base, 8);
   240		ctl_addr = devm_ioport_map(&pdev->dev, ctl_base, 1);
   241		if (!io_addr || !ctl_addr)
   242			goto failed;

Both calls to devm_ioport_map() return NULL.

The ultimate source of both NULL values appears to be __io() and
thence __typesafe_io(), both defined in arch/arm/include/asm/io.h

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-04 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04  1:57 linux-3.4-rc1 PXA2xx PCMCIA possible regression Paul Parsons
2012-04-04  2:50 ` Rob Herring
2012-04-04 10:43   ` Paul Parsons
2012-04-04 13:08 ` Russell King - ARM Linux
2012-04-04 13:55   ` Paul Parsons
2012-04-04 14:21     ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).