On Wed, Dec 12, 2018 at 03:31:13PM +0000, christian.gr...@microchip.com wrote:
> An additional field is added to the configuration parameter,
> which is provided by user space.
> This seemed to be less painful than adding a new sysfs
> file and make the configuration even more complicated. 

I think that adding a bunch of new sysfs files *and directories* is the
way to go actually.

echo "mdev0:ep01:sound:most51_playback.6x16" >$(DRV_DIR)/add_link

I've never used the most driver but my guess is that $DRV_DIR is
/sys/module/most/.  In theory, you're supposed to write one word or
number to sysfs files so this is sort of a misuse of the API.

There should be an mdev0/ep01/sound/most51_playback/ directory.  Maybe
every ep01 channel will have a sound/ subdirectory or maybe we have to
create it manually, I don't know.

There should be a command to create an new adpt, and another command to
add some commponents to it and a last command to register it with the
kernel.

regards,
dan carpenter
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to