]> git.ipfire.org Git - thirdparty/qemu.git/commit
i2c:smbus_eeprom: Add a reset function to smbus_eeprom
authorCorey Minyard <cminyard@mvista.com>
Thu, 15 Nov 2018 14:31:11 +0000 (08:31 -0600)
committerCorey Minyard <cminyard@mvista.com>
Thu, 28 Feb 2019 03:06:08 +0000 (21:06 -0600)
commit1042b22dcbc23be124b2ebfb15a363cf7a36914c
tree0b39a548bcc02a0411115afc5d45588aceca1b38
parentfd9df33f0829fd93d02f48fe650be057f8d52dfd
i2c:smbus_eeprom: Add a reset function to smbus_eeprom

Reset the contents to init data and reset the offset on a machine
reset.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/i2c/smbus_eeprom.c