Staging: cx25821: Change indent with spaces to tabs 6
Change indent with spaces to tabs. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
2ba5149861
commit
8e4ac0741f
@@ -604,14 +604,14 @@ int cx25821_buffer_prepare(struct videobuf_queue *q, struct videobuf_buffer *vb,
|
|||||||
channel_opened = (channel_opened < 0
|
channel_opened = (channel_opened < 0
|
||||||
|| channel_opened > 7) ? 7 : channel_opened;
|
|| channel_opened > 7) ? 7 : channel_opened;
|
||||||
|
|
||||||
if (dev->channels[channel_opened]
|
if (dev->channels[channel_opened].pixel_formats ==
|
||||||
.pixel_formats == PIXEL_FRMT_411)
|
PIXEL_FRMT_411)
|
||||||
buf->bpl = (buf->fmt->depth * buf->vb.width) >> 3;
|
buf->bpl = (buf->fmt->depth * buf->vb.width) >> 3;
|
||||||
else
|
else
|
||||||
buf->bpl = (buf->fmt->depth >> 3) * (buf->vb.width);
|
buf->bpl = (buf->fmt->depth >> 3) * (buf->vb.width);
|
||||||
|
|
||||||
if (dev->channels[channel_opened]
|
if (dev->channels[channel_opened].pixel_formats ==
|
||||||
.pixel_formats == PIXEL_FRMT_411) {
|
PIXEL_FRMT_411) {
|
||||||
bpl_local = buf->bpl;
|
bpl_local = buf->bpl;
|
||||||
} else {
|
} else {
|
||||||
bpl_local = buf->bpl; /* Default */
|
bpl_local = buf->bpl; /* Default */
|
||||||
|
Reference in New Issue
Block a user