projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4ec34
)
sata_inic162x: kill PORT_PRD_ADDR initialization
author
Tejun Heo
<tj@kernel.org>
Mon, 10 May 2010 19:41:31 +0000
(21:41 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Tue, 18 May 2010 02:49:04 +0000
(22:49 -0400)
sata_inic162x doesn't use PRD anymore. No need to initialize it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_inic162x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/sata_inic162x.c
b/drivers/ata/sata_inic162x.c
index 0ac6cdd9d1e8e2bbf6d574b51fef60483ca76a84..d3e1bab2a7ad06475b72cea0861a25a38b64c364 100644
(file)
--- a/
drivers/ata/sata_inic162x.c
+++ b/
drivers/ata/sata_inic162x.c
@@
-668,8
+668,7
@@
static void init_port(struct ata_port *ap)
memset(pp->pkt, 0, sizeof(struct inic_pkt));
memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE);
- /* setup PRD and CPB lookup table addresses */
- writel(ap->prd_dma, port_base + PORT_PRD_ADDR);
+ /* setup CPB lookup table addresses */
writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR);
}