pwm: fix writing of period
pwm: fix writing of period

Incorrect value attempted to be written

Signed-off-by: Thomas Ingleby <cea8b9d820e871fd22532c955ca84ff867a004a3@intel.com>

g-vidal/mraa,timrtoo/Intel,Pillar1989/mraa,tripzero/mraa,Hbrinj/mraa,w4ilun/mraa,andreivasiliu2211/mraa,smileboywtu/mraa,STANAPO/mraa,seem-sky/mraa,noahchense/mraa,neuberfran/mraa,stefan-andritoiu/mraa-gpio-chardev,sundw2014/mraa,sergev/mraa,seem-sky/mraa,whbruce/mraa,matt-auld/mraa,timrtoo/Intel,ncrastanaren/mraa,seem-sky/mraa,noahchense/mraa,Hbrinj/mraa,smileboywtu/mraa,Propanu/mraa,KurtE/mraa,alext-mkrs/mraa,KurtE/mraa,Meirtz/mraa,pctj101/mraa,Jon-ICS/mraa,Jon-ICS/mraa,ProfFan/mraa,yangjae/mraa,yoyojacky/mraa,ProfFan/mraa,alexandru-elisei/mraa,seem-sky/mraa,whbruce/mraa,yongli3/mraa,SyrianSpock/mraa,spitfire88/mraa,Propanu/mraa,zBMNForks/mraa,yangjae/mraa,jontrulson/mraa,arfoll/mraa,anonymouse64/mraa,jontrulson/mraa,seem-sky/mraa,malikabhi05/mraa,Pillar1989/mraa,neuberfran/mraa,alex1818/mraa,whbruce/mraa,alext-mkrs/mraa,anonymouse64/mraa,w4ilun/mraa,andreivasiliu2211/mraa,stefan-andritoiu/mraa-gpio-chardev,intel-iot-devkit/mraa,SyrianSpock/mraa,malikabhi05/mraa,timrtoo/Intel,zBMNForks/mraa,alext-mkrs/mraa,yoyojacky/mraa,pctj101/mraa,arfoll/mraa,tripzero/mraa,alext-mkrs/mraa,neuberfran/mraa,spitfire88/mraa,stefan-andritoiu/mraa,STANAPO/mraa,intel-iot-devkit/mraa,arunlee77/mraa,neuroidss/mraa,stefan-andritoiu/mraa,alexandru-elisei/mraa,Propanu/mraa,petreeftime/mraa,Kiritoalex/mraa,mircea/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa-gpio-chardev,ncrastanaren/mraa,neuroidss/mraa,spitfire88/mraa,anonymouse64/mraa,matt-auld/mraa,ncrastanaren/mraa,yoyojacky/mraa,neuberfran/mraa,SyrianSpock/mraa,Propanu/mraa,damcclos/mraa,timrtoo/Intel,petreeftime/mraa,petreeftime/mraa,Jon-ICS/mraa,andreivasiliu2211/mraa,yangjae/mraa,yongli3/mraa,damcclos/mraa,jontrulson/mraa,alex1818/mraa,pctj101/mraa,alex1818/mraa,smileboywtu/mraa,ncrastanaren/mraa,STANAPO/mraa,pctj101/mraa,alexandru-elisei/mraa,noahchense/mraa,w4ilun/mraa,stefan-andritoiu/mraa-gpio-chardev,intel-iot-devkit/mraa,Propanu/mraa,timrtoo/Intel,nioinnovation/mraa,jontrulson/mraa,Hbrinj/mraa,tripzero/mraa,arunlee77/mraa,g-vidal/mraa,nioinnovation/mraa,g-vidal/mraa,sundw2014/mraa,andreivasiliu2211/mraa,allela-roy/mraa,mircea/mraa,Meirtz/mraa,g-vidal/mraa,arunlee77/mraa,intel-iot-devkit/mraa,arunlee77/mraa,alext-mkrs/mraa,stefan-andritoiu/mraa,sundw2014/mraa,Pillar1989/mraa,yangjae/mraa,nioinnovation/mraa,arfoll/mraa,sergev/mraa,sundw2014/mraa,allela-roy/mraa,ProfFan/mraa,sundw2014/mraa,whbruce/mraa,spitfire88/mraa,malikabhi05/mraa,zBMNForks/mraa,noahchense/mraa,Meirtz/mraa,g-vidal/mraa,yongli3/mraa,allela-roy/mraa,Hbrinj/mraa,malikabhi05/mraa,arfoll/mraa,alexandru-elisei/mraa,Kiritoalex/mraa,neuberfran/mraa,jontrulson/mraa,malikabhi05/mraa,arfoll/mraa,KurtE/mraa,yongli3/mraa,sergev/mraa,KurtE/mraa,sergev/mraa,mircea/mraa,Kiritoalex/mraa,stefan-andritoiu/mraa,ProfFan/mraa,stefan-andritoiu/mraa,noahchense/mraa,ncrastanaren/mraa,KurtE/mraa,yongli3/mraa,sergev/mraa,damcclos/mraa,neuroidss/mraa,w4ilun/mraa,pctj101/mraa,matt-auld/mraa,petreeftime/mraa,alexandru-elisei/mraa,stefan-andritoiu/mraa-gpio-chardev