putative fix for SUB data transfer problem

merge-requests/1/head
Stphane Voltz 2013-02-11 21:59:21 +01:00
rodzic c62d5879a7
commit b0edb1cd99
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -5178,6 +5178,12 @@ gl841_init (Genesys_Device * dev)
/* ASIC reset */ /* ASIC reset */
RIE (sanei_genesys_write_register (dev, 0x0e, 0x00)); RIE (sanei_genesys_write_register (dev, 0x0e, 0x00));
/* firmware command, possibly related to USB transfer mode */
if (dev->model->gpo_type == GPO_CANONLIDE35)
{
RIE (sanei_genesys_write_0x8c (dev, 0x10, 0xa4));
}
/* Write initial registers */ /* Write initial registers */
RIE (gl841_bulk_write_register RIE (gl841_bulk_write_register
(dev, dev->reg, GENESYS_GL841_MAX_REGS)); (dev, dev->reg, GENESYS_GL841_MAX_REGS));