mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From f444c1b35b74ba14ce7297a98b60726539b98823 Mon Sep 17 00:00:00 2001
 | |
| From: John Cox <jc@kynesim.co.uk>
 | |
| Date: Thu, 19 Jan 2023 16:46:32 +0000
 | |
| Subject: [PATCH] media: bcm2835-v4l2-codec: Enable selection ioctl for ISP
 | |
| 
 | |
| The ISP cases do nothing. Remove the break that separates them from the
 | |
| deinterlace case so they now do the same as deinterlace. This enables
 | |
| simple width & height setting, but does not enable setting left and
 | |
| top coordinates.
 | |
| 
 | |
| Signed-off-by: John Cox <jc@kynesim.co.uk>
 | |
| ---
 | |
|  .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c    | 2 --
 | |
|  1 file changed, 2 deletions(-)
 | |
| 
 | |
| --- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
 | |
| +++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
 | |
| @@ -1857,7 +1857,6 @@ static int vidioc_g_selection(struct fil
 | |
|  		}
 | |
|  		break;
 | |
|  	case ISP:
 | |
| -		break;
 | |
|  	case DEINTERLACE:
 | |
|  		if (s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
 | |
|  			switch (s->target) {
 | |
| @@ -1981,7 +1980,6 @@ static int vidioc_s_selection(struct fil
 | |
|  		}
 | |
|  		break;
 | |
|  	case ISP:
 | |
| -		break;
 | |
|  	case DEINTERLACE:
 | |
|  		if (s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
 | |
|  			switch (s->target) {
 |