diff options
author | Djamil Elaidi <d-elaidi@ti.com> | 2011-10-20 19:09:28 +0200 |
---|---|---|
committer | Benoit Goby <benoit@android.com> | 2011-10-21 14:18:14 -0700 |
commit | a1d1521ea596b011505cf44441363b1370d6a975 (patch) | |
tree | d2f18ef409658eba0a1532ba668b35b70e483fa2 /drivers/omap_hsi/hsi_driver_if.c | |
parent | ea26a7e94b70a7a093218d48f008222961693746 (diff) | |
download | kernel_samsung_tuna-a1d1521ea596b011505cf44441363b1370d6a975.zip kernel_samsung_tuna-a1d1521ea596b011505cf44441363b1370d6a975.tar.gz kernel_samsung_tuna-a1d1521ea596b011505cf44441363b1370d6a975.tar.bz2 |
OMAP4: HSI: removed hardcoded RX error counters value
Removed fixed value for HSR timeout counters so make it possible
to change the counters by IOCTL.
Change-Id: I10bc0fee19b2af9132c8024aa79dfa939223d977
Signed-off-by: Djamil Elaidi <d-elaidi@ti.com>
Diffstat (limited to 'drivers/omap_hsi/hsi_driver_if.c')
-rw-r--r-- | drivers/omap_hsi/hsi_driver_if.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/omap_hsi/hsi_driver_if.c b/drivers/omap_hsi/hsi_driver_if.c index 23a7c5a..ff6f11b 100644 --- a/drivers/omap_hsi/hsi_driver_if.c +++ b/drivers/omap_hsi/hsi_driver_if.c @@ -50,7 +50,6 @@ int hsi_set_rx_divisor(struct hsi_port *sport, struct hsr_ctx *cfg) } else if (cfg->divisor != HSI_HSR_DIVISOR_AUTO) { /* Divisor set mode: use counters */ /* Leave auto mode: use new counters values */ - cfg->counters = 0xFFFFF; sport->reg_counters = cfg->counters; sport->counters_on = 1; hsi_outl(cfg->counters, base, |