<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/musb/cppi_dma.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-01-03T03:33:02Z</updated>
<entry>
<title>usb: musb: cppi_dma: export cppi_interrupt()</title>
<updated>2013-01-03T03:33:02Z</updated>
<author>
<name>Sergei Shtylyov</name>
</author>
<published>2012-11-05T19:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=72e6b965c6ddad7b49f9be237b3556006776da3d'/>
<id>urn:sha1:72e6b965c6ddad7b49f9be237b3556006776da3d</id>
<content type='text'>
commit 8b416b0b25d5d8ddb3a91c1d20e1373582c50405 upstream.

Now that DaVinci glue layer can be modular, we must export cppi_interrupt()
that it may call...

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>usb: musb: cppi: fix build errors due to DBG and missing musb variable</title>
<updated>2011-08-12T08:52:47Z</updated>
<author>
<name>Per Forlin</name>
</author>
<published>2011-08-03T13:39:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f847a79ab3c1faca3022061045cd22e4678c1b1c'/>
<id>urn:sha1:f847a79ab3c1faca3022061045cd22e4678c1b1c</id>
<content type='text'>
Replace DBG with dev_dbg and fix invalid access of musb-&gt;controller.
With this patch cppi_dma builds successfully.

Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Per Forlin &lt;per.forlin@linaro.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: musb: drop unneeded musb_debug trickery</title>
<updated>2011-05-13T11:34:04Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2011-05-11T09:44:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c8a86e10a7c164f44537fabdc169fd8b4e7a440'/>
<id>urn:sha1:5c8a86e10a7c164f44537fabdc169fd8b4e7a440</id>
<content type='text'>
We have a generic way of enabling/disabling
different debug messages on a driver called
DYNAMIC_PRINTK. Anyone interested in enabling
just part of the debug messages, please read
the documentation under:

Documentation/dynamic-debug-howto.txt

for information on how to use that great
infrastructure.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>USB: musb: dereferencing an iomem pointer</title>
<updated>2011-04-13T08:51:24Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-03-20T11:18:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e10f5e70f670d981f789075e3ebc394f5bb51e3'/>
<id>urn:sha1:2e10f5e70f670d981f789075e3ebc394f5bb51e3</id>
<content type='text'>
"tx_ram" points to io memory.  We can't dereference it directly.  Sparse
complains about this: "drivers/usb/musb/cppi_dma.c:1205:25: warning:
dereference of noderef expression"

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>USB: musb: silence printk format warning</title>
<updated>2011-04-13T08:51:23Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-03-20T11:16:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2fbcf3fa43af809ebf4e4ad33c2f0a17e903385c'/>
<id>urn:sha1:2fbcf3fa43af809ebf4e4ad33c2f0a17e903385c</id>
<content type='text'>
Gcc gives the following warnings:

drivers/usb/musb/cppi_dma.c: In function ‘cppi_next_tx_segment’:
drivers/usb/musb/cppi_dma.c:600: warning: format ‘%x’ expects type ‘unsigned int’, but argument 8 has type ‘dma_addr_t’
drivers/usb/musb/cppi_dma.c: In function ‘cppi_next_rx_segment’:
drivers/usb/musb/cppi_dma.c:822: warning: format ‘%x’ expects type ‘unsigned int’, but argument 9 has type ‘dma_addr_t’
drivers/usb/musb/cppi_dma.c: In function ‘cppi_rx_scan’:
drivers/usb/musb/cppi_dma.c:1042: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 4 has type ‘dma_addr_t’
drivers/usb/musb/cppi_dma.c:1114: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 7 has type ‘dma_addr_t’

dma_addr_t is sometimes 32 bit and sometimes 64.  We normally cast them
to unsigned long long for printk().

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>USB: musb: using 0 instead of NULL</title>
<updated>2011-04-13T08:51:21Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-03-20T11:15:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aca7f353219abfb7b8a1530fbba1b1acf0e30da4'/>
<id>urn:sha1:aca7f353219abfb7b8a1530fbba1b1acf0e30da4</id>
<content type='text'>
Sparse complains (and rightly so):
drivers/usb/musb/cppi_dma.c:1458:33:
	warning: Using plain integer as NULL pointer

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>USB: musb: add missing unlock in cppi_interrupt()</title>
<updated>2011-04-13T08:50:58Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2011-03-20T11:14:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ec63bf6c06b01ceeb6048a2b9fa9e73060259307'/>
<id>urn:sha1:ec63bf6c06b01ceeb6048a2b9fa9e73060259307</id>
<content type='text'>
We should unlock before returning here.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: musb: add names for IRQs in structure resource</title>
<updated>2010-12-01T08:56:33Z</updated>
<author>
<name>Hema Kalliguddi</name>
</author>
<published>2010-09-29T16:26:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fcf173e4511193b1efeccb0f22a8c641b464353b'/>
<id>urn:sha1:fcf173e4511193b1efeccb0f22a8c641b464353b</id>
<content type='text'>
Soon resource data will get automatically
populated from a set of autogenerated data
from TI's hardware database for the OMAP
platform.

Such database, might not have resources at
the expected order by the current drivers.

While we could hack in some exceptions to
that tool to generate resources in a specific
order, it seems less fragile to use the
resource name instead. That way, no matter
what order the resources are generated, the
driver still work.

Modified the OMAP, Blackfin and Davinci
architecture files to add the name of the IRQs
in the resource structures and musb driver to
use the platform_get_irq_byname() api to get
the device and dma irq numbers instead of using
the index.

Cc: Tony Lindgren &lt;tony@atomide.com&gt;
Acked-by: Kevin Hilman &lt;khilman@deeprootsystems.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Hema HK &lt;hemahk@ti.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>USB: musb: suppress warning about unused flags</title>
<updated>2010-10-22T17:21:55Z</updated>
<author>
<name>Jon Povey</name>
</author>
<published>2010-09-24T10:44:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f8d5cd6bcf814411ec356bcdbc666d07bbc6026'/>
<id>urn:sha1:2f8d5cd6bcf814411ec356bcdbc666d07bbc6026</id>
<content type='text'>
Wrap flags with uninitialized_var() to suppress this:

drivers/usb/musb/cppi_dma.c:1158: warning: 'flags' may be used uninitialized
in this function

Signed-off-by: Jon Povey &lt;jon.povey@racelogic.co.uk&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>usb: musb: gadget: fix dma length in txstate</title>
<updated>2010-09-24T18:05:01Z</updated>
<author>
<name>Ming Lei</name>
</author>
<published>2010-09-20T07:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=66af83ddf7b5a4ea94e79cbeadaa0aeed4def5f7'/>
<id>urn:sha1:66af83ddf7b5a4ea94e79cbeadaa0aeed4def5f7</id>
<content type='text'>
DMA length should not go beyond the availabe space
of request buffer, so fix it.

Also set max_len of cppi dma channel as max size of
int type, so make musb dma handling happier.

Signed-off-by: Ming Lei &lt;tom.leiming@gmail.com&gt;
Cc: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Anand Gadiyar &lt;gadiyar@ti.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
