diff options
| author | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-10-12 18:09:27 +0100 | 
| commit | 79828b4fa835f73cdaf4bffa48696abdcbea9d02 (patch) | |
| tree | 5e0fa7156acb75ba603022bc807df8f2fedb97a8 /drivers/media/v4l2-core/v4l2-ioctl.c | |
| parent | 721b51fcf91898299d96f4b72cb9434cda29dce6 (diff) | |
| parent | 8c1a9d6323abf0fb1e5dad96cf3f1c783505ea5a (diff) | |
Merge remote-tracking branch 'asoc/fix/rt5645' into asoc-fix-rt5645
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
| -rw-r--r-- | drivers/media/v4l2-core/v4l2-ioctl.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 85de4557f696..4a384fc765b8 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c @@ -28,7 +28,6 @@  #include <media/v4l2-device.h>  #include <media/videobuf2-core.h> -#define CREATE_TRACE_POINTS  #include <trace/events/v4l2.h>  /* Zero out the end of the struct pointed to by p.  Everything after, but @@ -1025,8 +1024,9 @@ static int v4l_querycap(const struct v4l2_ioctl_ops *ops,  	 * Drivers MUST fill in device_caps, so check for this and  	 * warn if it was forgotten.  	 */ -	WARN_ON(!(cap->capabilities & V4L2_CAP_DEVICE_CAPS) || -		!cap->device_caps); +	WARN(!(cap->capabilities & V4L2_CAP_DEVICE_CAPS) || +		!cap->device_caps, "Bad caps for driver %s, %x %x", +		cap->driver, cap->capabilities, cap->device_caps);  	cap->device_caps |= V4L2_CAP_EXT_PIX_FORMAT;  	return ret;  |