mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 01:55:55 +07:00
staging:media:davinci_vpfe: Fix lines over 80 characters
Fix "line over 80 characters" checkpatch warnings WARNING: line over 80 characters Signed-off-by: Thaissa Falbo <thaissa.falbo@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
735a8b4561
commit
8e8919feb6
@ -641,8 +641,9 @@ ipipeif_try_format(struct vpfe_ipipeif_device *ipipeif,
|
||||
}
|
||||
|
||||
static int
|
||||
ipipeif_enum_frame_size(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
|
||||
struct v4l2_subdev_frame_size_enum *fse)
|
||||
ipipeif_enum_frame_size(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_pad_config *cfg,
|
||||
struct v4l2_subdev_frame_size_enum *fse)
|
||||
{
|
||||
struct vpfe_ipipeif_device *ipipeif = v4l2_get_subdevdata(sd);
|
||||
struct v4l2_mbus_framefmt format;
|
||||
|
@ -282,7 +282,8 @@ isif_config_format(struct vpfe_device *vpfe_dev, unsigned int pad)
|
||||
* @fmt: pointer to v4l2 subdev format structure
|
||||
*/
|
||||
static void
|
||||
isif_try_format(struct vpfe_isif_device *isif, struct v4l2_subdev_pad_config *cfg,
|
||||
isif_try_format(struct vpfe_isif_device *isif,
|
||||
struct v4l2_subdev_pad_config *cfg,
|
||||
struct v4l2_subdev_format *fmt)
|
||||
{
|
||||
unsigned int width = fmt->format.width;
|
||||
@ -1399,8 +1400,9 @@ static int isif_set_stream(struct v4l2_subdev *sd, int enable)
|
||||
* @which: wanted subdev format.
|
||||
*/
|
||||
static struct v4l2_mbus_framefmt *
|
||||
__isif_get_format(struct vpfe_isif_device *isif, struct v4l2_subdev_pad_config *cfg,
|
||||
unsigned int pad, enum v4l2_subdev_format_whence which)
|
||||
__isif_get_format(struct vpfe_isif_device *isif,
|
||||
struct v4l2_subdev_pad_config *cfg, unsigned int pad,
|
||||
enum v4l2_subdev_format_whence which)
|
||||
{
|
||||
if (which == V4L2_SUBDEV_FORMAT_TRY) {
|
||||
struct v4l2_subdev_format fmt;
|
||||
|
@ -1387,8 +1387,9 @@ resizer_try_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
|
||||
* @fmt: pointer to v4l2 subdev format structure
|
||||
* return -EINVAL or zero on success
|
||||
*/
|
||||
static int resizer_set_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
|
||||
struct v4l2_subdev_format *fmt)
|
||||
static int resizer_set_format(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_pad_config *cfg,
|
||||
struct v4l2_subdev_format *fmt)
|
||||
{
|
||||
struct vpfe_resizer_device *resizer = v4l2_get_subdevdata(sd);
|
||||
struct v4l2_mbus_framefmt *format;
|
||||
@ -1447,8 +1448,9 @@ static int resizer_set_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_con
|
||||
* @fmt: pointer to v4l2 subdev format structure
|
||||
* return -EINVAL or zero on success
|
||||
*/
|
||||
static int resizer_get_format(struct v4l2_subdev *sd, struct v4l2_subdev_pad_config *cfg,
|
||||
struct v4l2_subdev_format *fmt)
|
||||
static int resizer_get_format(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_pad_config *cfg,
|
||||
struct v4l2_subdev_format *fmt)
|
||||
{
|
||||
struct v4l2_mbus_framefmt *format;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user