]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
bus: ti-sysc: Support 16-bit writes too
authorTony Lindgren <tony@atomide.com>
Mon, 27 May 2019 11:51:53 +0000 (04:51 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 28 May 2019 12:19:14 +0000 (05:19 -0700)
commit5aa912953611e5ec2443d97713ee55730dc2afdc
tree38e86ea156a198fca75590c2ae39b4f08d21b412
parent2b2f7def058a5386838ef4dba70a860285f79e66
bus: ti-sysc: Support 16-bit writes too

We need to also support 16-bit writes for i2c in addition to the reads
when we start configuring the sysconfig register for reset and idle modes.

Note that only i2c revision register has LO and HI registers, so let's
add a check also for 16-bit register read. This change is currently cosmetic
and does not affect anything until we enable the module specific quirk
handling for i2c reset and enable later on.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c