From patchwork Tue Sep 23 11:50:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 4955971 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 26889BEEA5 for ; Tue, 23 Sep 2014 11:50:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E348820221 for ; Tue, 23 Sep 2014 11:50:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9721200E3 for ; Tue, 23 Sep 2014 11:50:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751551AbaIWLuo (ORCPT ); Tue, 23 Sep 2014 07:50:44 -0400 Received: from lists.s-osg.org ([54.187.51.154]:37187 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751020AbaIWLuo convert rfc822-to-8bit (ORCPT ); Tue, 23 Sep 2014 07:50:44 -0400 Received: from recife.lan (unknown [187.57.185.227]) by lists.s-osg.org (Postfix) with ESMTPSA id F2EA8462B2; Tue, 23 Sep 2014 04:50:42 -0700 (PDT) Date: Tue, 23 Sep 2014 08:50:39 -0300 From: Mauro Carvalho Chehab To: Antti Palosaari Cc: linux-media@vger.kernel.org, Bimow Chen Subject: Fw: [PATCH 4/4] V4L/DVB: Add sleep for firmware ready Message-ID: <20140923085039.51765665@recife.lan> Organization: Samsung X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Antti, After the firmware load changes, is this patch still applicable? Regards, Mauro Forwarded message: Date: Tue, 05 Aug 2014 13:48:03 +0800 From: Bimow Chen To: linux-media@vger.kernel.org Subject: [PATCH 4/4] V4L/DVB: Add sleep for firmware ready From b19fa868ce937a6ef10f1591a49b2a7ad14964a9 Mon Sep 17 00:00:00 2001 From: Bimow Chen Date: Tue, 5 Aug 2014 11:20:53 +0800 Subject: [PATCH 4/4] Add sleep for firmware ready. Signed-off-by: Bimow Chen --- drivers/media/usb/dvb-usb-v2/af9035.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 7b9b75f..a450cdb 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -602,6 +602,8 @@ static int af9035_download_firmware(struct dvb_usb_device *d, if (ret < 0) goto err; + msleep(30); + /* firmware loaded, request boot */ req.cmd = CMD_FW_BOOT; ret = af9035_ctrl_msg(d, &req);