Commit edaa1e33 authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

staging: most: make alignment match open parenthesis

This patch fixes coding style violations by making alignments match
open parenthesis.
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c6c3f345
......@@ -92,8 +92,7 @@ static int configure_channel(struct most_interface *most_iface,
return -EPERM;
}
if (channel_config->direction == MOST_CH_RX) {
if (dev->polling_mode)
if ((channel_config->direction == MOST_CH_RX) && (dev->polling_mode)) {
schedule_delayed_work(&dev->rx.dwork,
msecs_to_jiffies(MSEC_PER_SEC / 4));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment