Home
last modified time | relevance | path

Searched hist:a6b4a9d2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/dma/
H A Dmv_xor.ca6b4a9d2 Mon Oct 29 10:45:46 CDT 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> dma: mv_xor: split initialization/cleanup of XOR channels

Instead of doing the initialization/cleanup of the XOR channels
directly in the ->probe() and ->remove() hooks, we create separate
utility functions mv_xor_channel_add() and mv_xor_channel_remove().

This will allow to easily introduce in a future patch a different way
of registering XOR channels: instead of having one platform_device per
channel, we'll trigger the registration of all XOR channels of a given
XOR engine directly from the XOR engine ->probe() function.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
a6b4a9d2 Mon Oct 29 10:45:46 CDT 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> dma: mv_xor: split initialization/cleanup of XOR channels

Instead of doing the initialization/cleanup of the XOR channels
directly in the ->probe() and ->remove() hooks, we create separate
utility functions mv_xor_channel_add() and mv_xor_channel_remove().

This will allow to easily introduce in a future patch a different way
of registering XOR channels: instead of having one platform_device per
channel, we'll trigger the registration of all XOR channels of a given
XOR engine directly from the XOR engine ->probe() function.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>