intel_edison_fab_c.c: Fix frequency setting on edison r2 images
authorBrendan Le Foll <brendan.le.foll@intel.com>
Sun, 1 Mar 2015 17:15:19 +0000 (17:15 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Sun, 1 Mar 2015 17:17:53 +0000 (17:17 +0000)
commit677af126aab3c3773f5bd26ca17ba917c9403216
tree618682d26ce90b467e735281dc2d38a1e457a9a3
parent2c74ba72a74795a404c9532239af09a60dcb15dc
intel_edison_fab_c.c: Fix frequency setting on edison r2 images

This reworks the mraa_intel_edison_i2c_freq() function. i2c_dw_sysnode is a
folder not a file so we need to grab the mode file from that folder. We now
also support i2c-1 frequency changing

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/x86/intel_edison_fab_c.c