OSDN Git Service

drm/bridge: ti-sn65dsi86: Use regmap_bulk_write API
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 25 Oct 2021 17:09:24 +0000 (10:09 -0700)
committerRobert Foss <robert.foss@linaro.org>
Wed, 27 Oct 2021 15:02:33 +0000 (17:02 +0200)
commit3c7a8600dec9858da9e76adb622d161f27652b00
tree8f1d7a1cc0ed130287e61015fce8449cd8d2e9f6
parent3ab7b6ac5d829e60c3b89d415811ff1c9f358c8e
drm/bridge: ti-sn65dsi86: Use regmap_bulk_write API

The multi-register u16 write operation can use regmap_bulk_write()
instead of two separate regmap_write() calls.

It's uncertain if this has any effect on the actual updates of the
underlying registers, but this at least gives the hardware the
opportunity and saves us one transation on the bus.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211025170925.3096444-2-bjorn.andersson@linaro.org
drivers/gpu/drm/bridge/ti-sn65dsi86.c