[PATCH AUTOSEL 4.18 36/45] media: tvp5150: fix width alignment during set_selection()

2018-11-04 Thread Sasha Levin
From: Marco Felsch [ Upstream commit bd24db04101f45a9c1d874fe21b0c7eab7bcadec ] The driver ignored the width alignment which exists due to the UYVY colorspace format. Fix the width alignment and make use of the the provided v4l2 helper function to set the width, height and all alignments in

[PATCH AUTOSEL 4.18 36/45] media: tvp5150: fix width alignment during set_selection()

2018-11-04 Thread Sasha Levin
From: Marco Felsch [ Upstream commit bd24db04101f45a9c1d874fe21b0c7eab7bcadec ] The driver ignored the width alignment which exists due to the UYVY colorspace format. Fix the width alignment and make use of the the provided v4l2 helper function to set the width, height and all alignments in