pmic: Add support for setting transmission length in uclass private data
authorLukasz Majewski <lukma@denx.de>
Tue, 15 May 2018 14:26:35 +0000 (16:26 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 18 May 2018 06:27:26 +0000 (08:27 +0200)
commitb8a6d6777b83b5aaaf7cbe7f6cdc2a32270490d0
tree89658bdf217c366e68830a2eea38e25e82bd44dc
parent9a84116b3139fcae7d4646b9d389b8982b2d43b7
pmic: Add support for setting transmission length in uclass private data

The struct uc_pmic_priv's trans_len field stores the number of types to
be transmitted per PMIC transfer.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/power/pmic/pmic-uclass.c
include/power/pmic.h