mirror of
https://github.com/torvalds/linux.git
synced 2024-11-02 10:11:36 +00:00
6c614044ff
This will be useful for matching of IR tables later. We read the eeprom anyway for dumping. Switch the dumping to print_hex_dump_bytes and compute hash above that by hash = 0; for (u32 VAL) in (eeprom): hash *= GOLDEN_RATIO_PRIME_32 hash += VAL; // while preserving endinaness The computation is moved earlier to the flow, namely from af9015_af9013_frontend_attach to af9015_read_config, so that we can access the sum in af9015_read_config already. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Acked-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
b2c2 | ||
bt8xx | ||
dm1105 | ||
dvb-core | ||
dvb-usb | ||
firewire | ||
frontends | ||
mantis | ||
pluto2 | ||
pt1 | ||
siano | ||
ttpci | ||
ttusb-budget | ||
ttusb-dec | ||
Kconfig | ||
Makefile |