diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-12 09:38:08 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-12 09:38:08 -0400 |
commit | edc72786d208e77db94f84dcb0d166c0d23d82f7 (patch) | |
tree | 6fd32770f9cb2f1a888775514294d60aecba5245 /drivers/usb/host/isp1362-hcd.c | |
parent | 6a5e293f1b34920c69a932ce37b4a4714a428dc7 (diff) | |
parent | 4367216a099b4df3fa2c4f2b086cda1a1e9afc4e (diff) |
Merge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
Diffstat (limited to 'drivers/usb/host/isp1362-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1362-hcd.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index e35d82808bab..5c774ab98252 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
@@ -2284,10 +2284,10 @@ static int isp1362_mem_config(struct usb_hcd *hcd) | |||
2284 | dev_info(hcd->self.controller, "ISP1362 Memory usage:\n"); | 2284 | dev_info(hcd->self.controller, "ISP1362 Memory usage:\n"); |
2285 | dev_info(hcd->self.controller, " ISTL: 2 * %4d: %4d @ $%04x:$%04x\n", | 2285 | dev_info(hcd->self.controller, " ISTL: 2 * %4d: %4d @ $%04x:$%04x\n", |
2286 | istl_size / 2, istl_size, 0, istl_size / 2); | 2286 | istl_size / 2, istl_size, 0, istl_size / 2); |
2287 | dev_info(hcd->self.controller, " INTL: %4d * (%3u+8): %4d @ $%04x\n", | 2287 | dev_info(hcd->self.controller, " INTL: %4d * (%3lu+8): %4d @ $%04x\n", |
2288 | ISP1362_INTL_BUFFERS, intl_blksize - PTD_HEADER_SIZE, | 2288 | ISP1362_INTL_BUFFERS, intl_blksize - PTD_HEADER_SIZE, |
2289 | intl_size, istl_size); | 2289 | intl_size, istl_size); |
2290 | dev_info(hcd->self.controller, " ATL : %4d * (%3u+8): %4d @ $%04x\n", | 2290 | dev_info(hcd->self.controller, " ATL : %4d * (%3lu+8): %4d @ $%04x\n", |
2291 | atl_buffers, atl_blksize - PTD_HEADER_SIZE, | 2291 | atl_buffers, atl_blksize - PTD_HEADER_SIZE, |
2292 | atl_size, istl_size + intl_size); | 2292 | atl_size, istl_size + intl_size); |
2293 | dev_info(hcd->self.controller, " USED/FREE: %4d %4d\n", total, | 2293 | dev_info(hcd->self.controller, " USED/FREE: %4d %4d\n", total, |
@@ -2677,12 +2677,12 @@ static int __devexit isp1362_remove(struct platform_device *pdev) | |||
2677 | DBG(0, "%s: Removing HCD\n", __func__); | 2677 | DBG(0, "%s: Removing HCD\n", __func__); |
2678 | usb_remove_hcd(hcd); | 2678 | usb_remove_hcd(hcd); |
2679 | 2679 | ||
2680 | DBG(0, "%s: Unmapping data_reg @ %08x\n", __func__, | 2680 | DBG(0, "%s: Unmapping data_reg @ %p\n", __func__, |
2681 | (u32)isp1362_hcd->data_reg); | 2681 | isp1362_hcd->data_reg); |
2682 | iounmap(isp1362_hcd->data_reg); | 2682 | iounmap(isp1362_hcd->data_reg); |
2683 | 2683 | ||
2684 | DBG(0, "%s: Unmapping addr_reg @ %08x\n", __func__, | 2684 | DBG(0, "%s: Unmapping addr_reg @ %p\n", __func__, |
2685 | (u32)isp1362_hcd->addr_reg); | 2685 | isp1362_hcd->addr_reg); |
2686 | iounmap(isp1362_hcd->addr_reg); | 2686 | iounmap(isp1362_hcd->addr_reg); |
2687 | 2687 | ||
2688 | res = platform_get_resource(pdev, IORESOURCE_MEM, 1); | 2688 | res = platform_get_resource(pdev, IORESOURCE_MEM, 1); |
@@ -2810,16 +2810,16 @@ static int __init isp1362_probe(struct platform_device *pdev) | |||
2810 | return 0; | 2810 | return 0; |
2811 | 2811 | ||
2812 | err6: | 2812 | err6: |
2813 | DBG(0, "%s: Freeing dev %08x\n", __func__, (u32)isp1362_hcd); | 2813 | DBG(0, "%s: Freeing dev %p\n", __func__, isp1362_hcd); |
2814 | usb_put_hcd(hcd); | 2814 | usb_put_hcd(hcd); |
2815 | err5: | 2815 | err5: |
2816 | DBG(0, "%s: Unmapping data_reg @ %08x\n", __func__, (u32)data_reg); | 2816 | DBG(0, "%s: Unmapping data_reg @ %p\n", __func__, data_reg); |
2817 | iounmap(data_reg); | 2817 | iounmap(data_reg); |
2818 | err4: | 2818 | err4: |
2819 | DBG(0, "%s: Releasing mem region %08lx\n", __func__, (long unsigned int)data->start); | 2819 | DBG(0, "%s: Releasing mem region %08lx\n", __func__, (long unsigned int)data->start); |
2820 | release_mem_region(data->start, resource_len(data)); | 2820 | release_mem_region(data->start, resource_len(data)); |
2821 | err3: | 2821 | err3: |
2822 | DBG(0, "%s: Unmapping addr_reg @ %08x\n", __func__, (u32)addr_reg); | 2822 | DBG(0, "%s: Unmapping addr_reg @ %p\n", __func__, addr_reg); |
2823 | iounmap(addr_reg); | 2823 | iounmap(addr_reg); |
2824 | err2: | 2824 | err2: |
2825 | DBG(0, "%s: Releasing mem region %08lx\n", __func__, (long unsigned int)addr->start); | 2825 | DBG(0, "%s: Releasing mem region %08lx\n", __func__, (long unsigned int)addr->start); |