]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iio: light: stk3310: add chip id for STK3311-X variant
authorIcenowy Zheng <icenowy@aosc.io>
Fri, 3 Jul 2020 19:44:05 +0000 (21:44 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 20 Jul 2020 08:03:38 +0000 (09:03 +0100)
commit5ef8f84aeac9974c9891d9987abb25362dbb4c8e
treec216ec82d44fe2e663090df04d155c18326f35d0
parent2f5452579a33db7e49d0a94089556d7c8077cde7
iio: light: stk3310: add chip id for STK3311-X variant

The STK3311 chip has a variant called STK3311-X, which has a different
chip id of 0x12.

Add the chip id to the driver.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/stk3310.c