Path: blob/master/drivers/media/video/cx23885/cx23885-av.c
17882 views
/*1* Driver for the Conexant CX23885/7/8 PCIe bridge2*3* AV device support routines - non-input, non-vl42_subdev routines4*5* Copyright (C) 2010 Andy Walls <[email protected]>6*7* This program is free software; you can redistribute it and/or8* modify it under the terms of the GNU General Public License9* as published by the Free Software Foundation; either version 210* of the License, or (at your option) any later version.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software19* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA20* 02110-1301, USA.21*/2223#include "cx23885.h"2425void cx23885_av_work_handler(struct work_struct *work)26{27struct cx23885_dev *dev =28container_of(work, struct cx23885_dev, cx25840_work);29bool handled;3031v4l2_subdev_call(dev->sd_cx25840, core, interrupt_service_routine,32PCI_MSK_AV_CORE, &handled);33cx23885_irq_enable(dev, PCI_MSK_AV_CORE);34}353637