[merged] drivers-media-video-cx25821-cx25821-medusa-videoc-incorrect-check-on-decoder-type.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: drivers/media/video/cx25821/cx25821-medusa-video.c: incorrect check on decoder type
has been removed from the -mm tree.  Its filename was
     drivers-media-video-cx25821-cx25821-medusa-videoc-incorrect-check-on-decoder-type.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Alan Cox <alan@xxxxxxxxxxxxxxx>
Subject: drivers/media/video/cx25821/cx25821-medusa-video.c: incorrect check on decoder type

Unsupported requests should be ignored but in fact affected VDEC_A

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=44051

Reported-by: David Binderman <dcb314@xxxxxxxxxxx>
Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Cc: "Leonid V. Fedorenchik" <leonidsbox@xxxxxxxxx>
Cc: Hans Verkuil <hans.verkuil@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/media/video/cx25821/cx25821-medusa-video.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/media/video/cx25821/cx25821-medusa-video.c~drivers-media-video-cx25821-cx25821-medusa-videoc-incorrect-check-on-decoder-type drivers/media/video/cx25821/cx25821-medusa-video.c
--- a/drivers/media/video/cx25821/cx25821-medusa-video.c~drivers-media-video-cx25821-cx25821-medusa-videoc-incorrect-check-on-decoder-type
+++ a/drivers/media/video/cx25821/cx25821-medusa-video.c
@@ -499,7 +499,7 @@ static void medusa_set_decoderduration(s
 	mutex_lock(&dev->lock);
 
 	/* no support */
-	if (decoder < VDEC_A && decoder > VDEC_H) {
+	if (decoder < VDEC_A || decoder > VDEC_H) {
 		mutex_unlock(&dev->lock);
 		return;
 	}
_

Patches currently in -mm which might be from alan@xxxxxxxxxxxxxxx are

origin.patch
linux-next.patch
ppc-e500_tlb-memset-clears-nothing.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux