summaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-05-05 16:50:30 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-05-18 11:32:48 +0300
commit6a792e8158a2597418a0833c7e350328e209f318 (patch)
tree01ffc6baab01d2420f763d5781f3ffaedf0ca0e4 /lib/pm-notifier-error-inject.c
parent1fc4d180b3c6bed0e7f5160bcd553aec89594962 (diff)
downloadlinux-6a792e8158a2597418a0833c7e350328e209f318.tar.xz
can: m_can: move Message RAM initialization to function
To avoid possible ECC/parity checksum errors when reading an uninitialized buffer, the entire Message RAM is initialized when probing the driver. This initialization is done in the same function reading the Device Tree properties. This patch moves the RAM initialization to a separate function so it can be called separately from device initialization from Device Tree. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions