Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756134Ab0LHWhs (ORCPT ); Wed, 8 Dec 2010 17:37:48 -0500 Received: from kroah.org ([198.145.64.141]:59757 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752042Ab0LHWhr (ORCPT ); Wed, 8 Dec 2010 17:37:47 -0500 Date: Wed, 8 Dec 2010 14:26:42 -0800 From: Greg KH To: Omar Ramirez Luna Cc: linux-omap , Ohad Ben-Cohen , Nishanth Menon , Felipe Contreras , Fernando Guzman Lugo , Armando Uribe De Leon , Greg Kroah-Hartman , Ernesto Ramos Falcon , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, Rene Sapiens Subject: Re: [PATCH] staging: tidspbridge: remove file handling functions for loader Message-ID: <20101208222642.GA31802@kroah.com> References: <1291702146-17866-1-git-send-email-omar.ramirez@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1291702146-17866-1-git-send-email-omar.ramirez@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 909 Lines: 25 On Tue, Dec 07, 2010 at 12:09:06AM -0600, Omar Ramirez Luna wrote: > Instead use request_firmware and friends to get a valid firmware > image. > > Right now the image is supplied dynamically through udev and the > following rule: > > KERNEL=="omap-dsp", SUBSYSTEM=="firmware", ACTION=="add", \ > RUN+="/bin/sh -c 'echo 1 > /sys/$DEVPATH/loading; \ > cat $FIRMWARE > /sys/$DEVPATH/data; \ > echo 0 > /sys/$DEVPATH/loading'" Why do you need a custom firmware rule? Why doesn't the default firmware loading rule that comes with udev work properly for you? What are you needing different here that works properly for all other drivers? confused, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/